zend framework2 - integrate login to my sites with OpenId or OAuth -


i have few site developed zend framework 1 , zend framework 2,i wanna users register in main site , in other sites want have login button ,if user click on login: 1- if user logged in in main site ago , user login without enter information. 2- if user not logged in in main site popup open , ask username/password of main site ,then login site. don't understand possible openid or oauth. in openid user must generate openid id example:

http://www.example.com/username

but prefer user don't enter additional information.

for example in stackoverflow can use google or yahoo account. if wanna use yahoo account asked openid,but don't know system google use not asked id , user enter email , password if not logged in google account, prefer google system user not enter url login. sincerely

clicking google button on stackoverflow login screen secretly fills url

https://www.google.com/accounts/o8/id 

as openid url. xrds file tells openid library auth server can found.

the openid spec defines in section 7.3.1:

if end user entered op identifier, there no claimed identifier. purposes of making openid authentication requests, value "http://specs.openid.net/auth/2.0/identifier_select" must used both claimed identifier , op-local identifier when op identifier entered.


Comments

Popular posts from this blog

facebook - android ACTION_SEND to share with specific application only -

python - Creating a new virtualenv gives a permissions error -

javascript - cocos2d-js draw circle not instantly -