- Users run to our website to access a page that needs to be signed in
- Our website detects that the user is not logged in, returns a response to the QQ login page (302 points to the address of the QQ login page and adds a return link page, usually returnurl=)
- User is redirected to the login page of the specified QQ
- Users in the QQ login page Enter the user name and password, QQ will go to their own database query, once the login is successful, will return a jump to our site response (302 point to our site page)
- The user is redirected to a detection login page of our website, we can get the user's identity information, establish claimsprinpical and claimsidentity objects, generate cookies and so on.
- We then take the user to the specified page, which is ReturnUrl, which is the last page visited before the user logs in.
QQ Integrated Login Life cycle