oauth - Can you get a users email with just OpenID? -


i'm trying wrap head around openid , oauth.

from understand, openid says user of openid provider. if log site using openid, return "yes, person user of x site."

if want retrieve users email address, need authorization well, oauth comes in.

all being said, imply if openid username email address, there no way retrieve information without oauth well?

here's post openid vs oauth.

from understand, openid says user of openid provider. if log site using openid, return "yes, person user of x site."

it depends on you're using openid provider , whether support attribute exchange - allow relay party ask additional attributes user (e.g. email). here's so question asking google/yahoo supported attribute exchange values.

all being said, imply if openid username email address, there no way retrieve information without oauth well?

again, depends on you're using openid/oauth (and possibly version of each protocol too). openid providers don't have use emails usernames, , it's possible provider provide both email in openid , oauth implmentations. example google allows retrieval of email address via oauth2 in addition providing email in it's openid attribute exchange.


Comments

Popular posts from this blog

html - How to style widget with post count different than without post count -

How to remove text and logo OR add Overflow on Android ActionBar using AppCompat on API 8? -

javascript - storing input from prompt in array and displaying the array -