![Alibaba Cloud API Gateway Скачать руководство пользователя страница 18](http://html1.mh-extra.com/html/alibaba-cloud/api-gateway/api-gateway_user-manual_2896279018.webp)
1.
2.
3.
4.
Provider and used to generate the id_token in the entire system. The generated id_token
must meet the
Specification
in the OIDC protocol (version 1.0).
2. Resource server (RS): Used to verify the id_token and resolve
corresponding information.
This part is implemented by the gateway. Because the RS function has been integrated in the API
gateway, the Provider only needs to generate the id_token in compliance with the corresponding
encryption rules.
As shown in the preceding figure, the process is as follows:
The Consumer sends the parameter with the id_token to the API gateway.
The API gateway saves the publicKey used for verification, verifies and resolves the id_token
to obtain the User information, and sends the User information to the Provider. If the
authentication fails, the API gateway returns an error message.
The Provider processes the request and returns the results to the API gateway.
The API gateway transparently transmits the results from the Provider to the Consumer.
NOTE: The RS serves as the Consumer of the id_token. The request can be forwarded to the Provider
only when the id_token verification succeeds.
How to implement the AS module
API Gateway
User Guide for Providers
17
Содержание API Gateway
Страница 1: ...API Gateway User Guide for Providers...