Setting StackOverflow like Permissions in Yahoo OAuth

283 Views Asked by At

I could connect to the Yahoo OAuth from my website.
But I don't know how to access just the email and username of the end user. Just like what Stack Overflow does when allowing logging in using Yahoo.

Which Yahoo OAuth Permissions(Scopes) does that?

1

There are 1 best solutions below

1
On

AFAIK, Stackoverflow uses OpenID for the login, not OAuth. To get the email and name of the user from the OpenID Identity Provider (Yahoo in this case), there are two possible mechanisms:

By looking at the redirection URL, it seems that, with Yahoo at least, Stackoverflow uses Attribute Exchange and requests these attributes: