iii.
publicKey: Used to verify and resolve the Token, which is generated by the AS. For example:
Configurations of other parameters are the same as those for common APIs, which are not
described.
No matter creating an API or modifying an API, the configured KeyId and publicKey take
effect only after the API is released.
For the service APIs, you must configure the parameter corresponding to the Token.
As shown in the preceding figure, the parameter corresponding to the Token is
that sent to the id_token when the Consumer calls the API. The API gateway
identifies, verifies, and resolves this parameter.
In the Input parameter definition area, a corresponding parameter must be
defined. Otherwise, an error message is prompted, as shown in the following
figure.
Configuring the custom system parameters: The service API enables configuration
of custom system parameters on the Define API backend server tab. One example
is shown in the following figure.
{"kty":"RSA","kid":"88483727556929326703309904351185815489","alg":"ES256","n":"ie0IKvKLd7Y3izHcZ
emdDsVVXg5QtWtGF7XEkILnn66R2\_3a30DikqV409OVL7Hv0ElACgCaBLEgZeGHTcdLE1xxDTna8MMBnB
NuMVghvFERCKh8uzpxlQsfcnFd5IFdJWj1x5Tscetrow6lA3h5zYx0rF5TkZzC4DclxgDmITRam0dsHBxr3uk9
m9YYBz2mX0ehjY0px7vIo7hZH2J3gODEPorIZkk3x8GPdlaA4P9OFAO4au9-zcVQop9vLirxdwDedk2p-
F9GP6UiQC9V2LTWqkVw\_oPBf9Rlh8Qdi19jA8SeCfzAxJZYlbOTK8dYAFAVEFsvXCFvdaxQefwWFw","e":"A
QAB"}
API Gateway
User Guide for Providers
22