General Procedure
- Configuring the API Frontend
Set the security authentication mode of the API frontend to Custom or enable Two-Factor Authentication (app or IAM authentication), and select a custom authorizer. If no custom authorizer is available, click Create Custom Authorizer.
- Configuring the API Backend
Add a policy for the backend. Set the Source of the Policy Conditions to System parameter - Frontend authentication parameter, and configure the Parameter Name, Condition Type, and Condition Value. The Parameter Name and Condition Value must be the same as the key-value pair in the context field in the return value of the frontend custom authentication function.
- Debugging the API
Debug the API and check whether the added policy backend is called.
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.
For any further questions, feel free to contact us through the chatbot.
Chatbot