Preface (reference
Lee's program life-blog Park-openid user manual Java Edition
)
OpenidOpenid is not widely used in China, and few sites support openid logon.But add some openid information first.What is openid? The so-called openid
ASP. NET has no magic-ASP. NET OAuth, jwt, OpenID Connect, oauthopenid
The previous article introduced OAuth2.0 and how to use it. net to implement OAuth-based identity authentication. This article is a supplement to the previous article. It mainly
Obtain the user's OpenID through MVC development, and obtain the user's openid through mvc
The first development version of the web page, the most important to obtain the OpenId, is hereby recorded
1. First, you must have appid and appsecret.
1
The previous article introduced OAuth2.0 and how to use. NET to implement OAuth-based authentication, which complements the previous article by introducing the relationship and differences between OAuth and JWT and OpenID connect.The main contents
The example of this article for everyone to share the micro-trust public platform to achieve access to the user OpenID method for your reference, the specific contents are as follows
Index.aspx.cs Code:
Public partial class
. NET public account to obtain OpenID and user information,. netopenid
The examples in this article share with you how to obtain the user's OpenID on the public platform for your reference. The specific content is as follows:
Index. aspx. cs
Today's recommendation is an open source OpenID Connect/oauth 2.0 Service Framework--identityserver3 that I've been focusing on for a long time. It supports the complete OpenID Connect/oauth 2.0 standard, which makes it easy to build a single
OpenID addresses cross-site authentication issues, and OAuth addresses cross-site licensing issues. Authentication and authorization are inseparable. The two sets of protocols for OpenID and OAuth come from two different organizations with
The modern application looks like this:Typical interactions include the following:
The browser communicates with the Web application
Web applications communicate with Web APIs (sometimes on their own, sometimes on behalf of users)
The modern application looks like this:Typical interactions include the following:
The browser communicates with the Web application
Web applications communicate with Web APIs (sometimes on their own, sometimes on behalf of users)
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.