openid

Using OpenID with Zend Framework

流过昼夜 提交于 2019-11-30 19:14:54
问题 I want my website to do exactly what Stackoverflow does with openId. I'm combing through sources, and I have done this before with facebook, but not making much progress with OpenID. What I would like to do is just detect if someone has logged into Google, and if they have get some identifying information, and allow them to federate into my site. Can anyone suggest any tutorials or Code snippets, and should I use Zends Libraries ? -P 回答1: /** * SM's code library * * @category * @package *

Performing Google Federated Login/oAuth2 after initial Authentication

半世苍凉 提交于 2019-11-30 17:33:25
I am trying to support "Hybrid" Federated Login and oAuth2 (using logic from this document ) for a webservice which will: support Sign in using your Google account on my site. That is, from the documentation: You can also choose to use Google's authentication system as a way to outsource user authentication for your application. This can remove the need to create, maintain, and secure a username and password store . Access the user's Google Analytics. Here are the steps I have done. I form my request to https://accounts.google.com/o/oauth2/auth with the scopes (Google Analytics) I want access

How to Implement SSO

末鹿安然 提交于 2019-11-30 16:37:49
I want to implement SSO Single Sign On . I found a lot of links and articles talking about CAS OpenID and many different things ,I'm really lost so should i use CAS ? I installed CAS Server and deplyed it into Tomcat What is the next step? Or is this wrong? Can you explain me how can i develop a simple HelloWorld to implement SSO. Many Thanks CAS is a popular implementation of SSO, so installing CAS server is a good first step. You'll need a server for anything you're planning, and you can check that it's working without having any other pieces in place (there are instructions in the INSTALL

how can I authenticate a user from a web app to an API?

北城以北 提交于 2019-11-30 13:53:04
问题 It seems to be a widely asked questions and after having read tons of documentations on the subject, I'm still not sure to have understood everything correctly (I assume that being dumb is a possible answer ;)). I'm trying to build an API that will provide a service to users. The users will be connected through Facebook or any OpenId provider (I separate Facebook since their implement their own connecting system). (I think it's a good way because I will not store the user's password and

Creating an OpenID login widget

£可爱£侵袭症+ 提交于 2019-11-30 12:17:19
问题 I need an OpenID login widget like the one on Stackoverflow or Id Selector (which has been discontinued in favor of RPXnow which is a commercial service). What is the best way to make these? Is there a framework or example implementation anywhere? 回答1: Google have a project called Google Identity Toolkit (GITkit) which seems to make OpenID stuff pretty easy. They have their own client library implementation to go with the API service it appears. This is apparently part of a wider Account

How do you enable customers to log in to your site using their Google account?

佐手、 提交于 2019-11-30 12:16:16
问题 I just saw http://uservoice.com/login. It uses Google accounts, Myspace, Yahoo, OpenID and all to sign in customers into its site? Can I do that? I mean, customers need not register to my site. They can just sign in with their accounts on the above sites. If you've a solution, I'd prefer a PHP and MySQL based one. 回答1: See here: Google Login PHP Class. Also be sure to refer to the Google Federated Login site for more info. 回答2: You may want to look at this too: https://rpxnow.com/ - it will

OpenID authentication in Ruby on Rails

大憨熊 提交于 2019-11-30 11:55:35
问题 I am a neophyte with Ruby on Rails but I've created a couple of small apps. Anyway, I'm really interested in OpenID and I would like to implement OpenID authentication and maybe some Sreg stuff in a Rails app. All of the research that I have done has come up with articles that are out of date or just don't work for me. Since I'm so new to Rails I'm having difficulty debugging the issues so... What is the best way to implement OpenId in Rails? 回答1: Have you watched Ryan Bates' excellent

微信公众平台开发——微信授权登录(OAuth2.0)

北城以北 提交于 2019-11-30 11:53:40
1、OAuth2.0简介    OAuth (开放授权)是一个开放标准,允许用户让第三方应用访问该用户在某一网站上存储的私密的资源(如照片,视频,联系人列表),而无需将用户名和密码提供给第三方应用。   允许用户 提供一个令牌 , 而不是用户名和密码来访问他们存放在特定服务提供者的数据 。每一个令牌授权一个特定的网站(例如,视频编辑网站)在特定的时段(例如,接下来的2小时内)内访问特定的资源(例如仅仅是某一相册中的视频)。这样,OAuth允许用户授权第三方网站访问他们存储在另外的服务提供者上的信息,而不需要分享他们的访问许可或他们数据的所有内容。   我们这里主要模拟在微信公众号中使用OAuth2.0进行授权,获取用户的基本信息的过程。详细的开发文档可查看微信的官方文档。   微信公众平台开发者文档: http://mp.weixin.qq.com/wiki/14/89b871b5466b19b3efa4ada8e577d45e.html 2、获取测试公众账号及其相关配置 1)、公众测试账号获取   访问上面的连接,选择“接口测试号申请”获得直接打开 http://mp.weixin.qq.com/debug/cgi-bin/sandboxinfo?action=showinfo&t=sandbox/index 通过微信客户端扫码登录即可登录。  

OpenID as a Single Sign On option? [closed]

心不动则不痛 提交于 2019-11-30 10:54:55
I'm just looking for different opinions. Do you consider OpenID a good "Single Sign On" solution? The way it works seems to be a little bit confusing for an average user and there could be problems related to "putting all your eggs in the same basket". Anyway, have anyone tried to implement his own OpenId solution within the context of an Intranet where there are many different applications (Wordpress, Elgg, Media Wiki, ..)?? I consider it could be a great solution to solve the "Digital Identity" problem but I don't know if it will work with the "login once and surf the Intranet" problem.

OpenID for android apps that require SignIn

半世苍凉 提交于 2019-11-30 10:24:50
问题 I am a fresh developer on Googles Android Platform - my HTC Desire arrived last week. Now i need a way to sign in to my existing application (Java, currently running on jetty). The server Application is developed using spring security 3.0.2 In my case, i want to support the following: If a user has set up his Android phone with a googlemail/google-Account (and most users do) i want to use this account credentials to automagically log in to my server app. Is there any Android framework