php - How to authenticate a user with Google gmail account like stackoverflow -


i want authenticate user using google account. had developed oauth using libraries.

but giving me message website asking permission access google docs/calendar/etc.,.

when logging stackoverflow.com asking stackoverflow.com accessing you@gmail.com. how can permission email address.

update: developed oauth using zend php library.

and see screenshots

stackexchange.com

enter image description here

my application screenshot

enter image description here

thank you

at moment, i'm working on example zf 1.11 application uses openid , openid-selector. zf application, called zfopenid, can downloaded here (it contains full zf library , should work out of box): enter image description here authentication google, yahoo works (at least me) @ stage. make work needed make changes in zend_openid_consumer described @ http://framework.zend.com/issues/browse/zf-6905 + additional changes. incorporated my_openid_extension_attributeexchange (i.e. attributeexchange implementation chris bisnett) fetch email google, yahoo (at moment not displayed, should in $_get variable returned google, yahoo, aol or myopenid user/login).

so, if or test it, grateful i'm planning write blog post this. feedback helpful @ stage. specifically, whether works, or works me (i'm running on localhost using xampp linux 1.7.3a , linux mint 10).


Comments

Popular posts from this blog

apache - Add omitted ? to URLs -

redirect - bbPress Forum - rewrite to wwww.mysite prohibits login -

php - How can I stop spam on my custom forum/blog? -