Login Flow

The overall flow using the server-side mode is as follows:
- The user accesses the third-party application, which initiates an authorization login request to Zhuyun IDaaS, forcing the browser to display the unified login interface.
- After the user inputs relevant credential information, such as username and password, and submits it, the Zhuyun IDaaS platform, upon successful authentication, will redirect back to the third-party application with the authorization code
codeparameter. - The third-party application uses the authorization code
codeto call the Zhuyun IDaaS platform's interface to exchange for an access tokenaccess_token. - After the Zhuyun IDaaS platform verifies that the authorization code
codeis valid, it will return anaccess_tokento the application. - The third-party application uses the token
access_token(provided it is valid and not expired) to call Zhuyun IDaaS API interfaces to obtain user information. - After the Zhuyun IDaaS platform returns the user information to the application system, the application system guides the user into the system.
# Development Steps
The Zhuyun IDaaS platform adopts the OAuth 2.0 Authorization Code Grant mode for integration. The development process is as follows:
# Step1: Obtain the Authorization Code
Click to view the interface for obtaining the authorization code
# Step2: Obtain the Access Token
Click to view the interface for obtaining the Access Token
