Can openid-client be used to validate OpenID Connect id tokens? #512
-
If I understand the documented API correctly, it seems to be geared toward a web-based application workflow (hence e.g. the various endpoints that seem to be required when constructing an |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
ID Tokens are required to be JSON Web Tokens (JWTs). This library uses |
Beta Was this translation helpful? Give feedback.
ID Tokens are required to be JSON Web Tokens (JWTs). This library uses
jose
(created by the same author) to verify JWTs and is probably what you're looking for.https://github.com/panva/jose/blob/HEAD/docs/functions/jwt_verify.jwtVerify.md#readme