/oidc/ userInfo endpoint.
Inspecting the JWT
In support of OAuth 2.0 and OIDC, Digital Identity Management issues access, refresh, and ID tokens as JSON Web Tokens (JWTs). JWT Expiration When a token is first issued and delivered to the client, that token’s decoded payload contains an expiry time noted in theexp field as seconds in UNIX epoch time.
GET /oidc/jwk endpoint to obtain all of the Digital Identity Management public keys. The response is a JSON object with a single keys field, and that field contains a list of JSON Web Key (JWK) values.
kid, of rsa1 using algorithm, or alg, of RS256. The public key n value is visible for the purposes of verifying the asymmetric signature on any tokens.
Calling the /oidc/userinfo Endpoint
You can call the GET /oidc/userinfo API with an access token. The response includes the latest claim values authorized for the relying party according to the scopes in the specified access token. If the token is invalid for example, because it has been revoked), then Digital Identity Management responds with HTTP 401 Unauthorized and a payload that indicates the error code invalid_token.
/userinfo endpoint, refer to the UserInfo Endpoint topic. Alternatively, to know more about MarketONE OIDC API spec, refer to the API Reference on the Developer Portal.
Parent topic:Single Sign-On
