Skip to content

Why processGenericAccessTokenResponse never validate the id_token signature ? #60

Closed Locked Answered by panva
kant-un asked this question in Q&A
Discussion options

You must be logged in to vote

could you tell me if it's intended that the ... never validates the id_token signature?

It is intended. It is possible to do so because the only flows that are supported by this module are ones where an ID Token is retrieved from an https (TLS protected) endpoint and the specification does not require the client to check the signature of the ID Token in such cases.

This behaviour is also certified by the OpenID Connect Certification Program.

If the ID Token is received via direct communication between the Client and the Token Endpoint (which it is in this flow), the TLS server validation MAY be used to validate the issuer in place of checking the token signature.

source

For all intent…

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@kant-un
Comment options

Answer selected by kant-un
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants