OpenID Integration

Does anyone know the ASP.NET guide for implementing OpenID and what information can the OpenID provider get? I understand that you can get an email address, but if someone logs in using Google OpenID, can you access their addresses?

+3
source share
4 answers

Yes, OpenID providers can and often offer login “claims” or “attributes” if the OpenID requester requests it and the user agrees to share this data.

If you use DotNetOpenAuth for your OpenID ASP.NET library, it has built-in support for several ways to get these attributes, but it’s easy for you to get them on them, no matter how the Provider offers them. If you download the library, it comes with an example of how to do this.

For a business address and some other domain-specific attributes (data domains, not Internet domains), very few Providers offer them. The best you can do is get the “full address” and ask the user if there is one that they want to use.

+2
source

, Google - -, , OpenID.

OpenID ASP.NET DotNetOpenOAuth.

, OpenID , , AspDotNetMVC.

0

I just wrote about it here. this shows how you can get more information from these providers http://blogs.msdn.com/b/webdev/archive/2012/08/22/extra-information-from-oauth-openid-provider.aspx

0
source

Source: https://habr.com/ru/post/1711360/


All Articles