Help Center/
Meeting/
Server API Reference/
Login Authentication/
Examples/
Example 1: App ID Authentication
Updated on 2022-07-04 GMT+08:00
Example 1: App ID Authentication
Scenarios
Before using REST APIs provided by Huawei Cloud Meeting, you must log in to the server. If you do not need to use a service, log out of the server to ensure the security of service APIs.
Service Process
Figure 1 Common login and authentication process
- Initialize parameters, including app ID, user ID, and Authorization. For details about how to apply for an app ID and generate a signature, see Introduction to App ID Authentication.
- The third-party application sends an authentication request carrying initialized parameters to API Gateway.
- After receiving the request, API Gateway forwards the request to Huawei Cloud Meeting Management Platform.
- After the authentication is successful, Huawei Cloud Meeting Management Platform returns a token to API Gateway.
- API Gateway returns the received token to the third-party application. The token is valid for 12 to 24 hours.
- Before the token expires, the third-party application sends a token update request to API Gateway.
- API Gateway sends a token update request to Huawei Cloud Meeting Management Platform.
- Huawei Cloud Meeting Management Platform returns a new token to API Gateway.
- API Gateway returns the new token to the third-party application.
- If you do not need to call APIs later, call the logout API to invalidate the token.
Parent topic: Examples
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.See the reply and handling status in My Cloud VOC.
The system is busy. Please try again later.
For any further questions, feel free to contact us through the chatbot.
Chatbot