id_token_signed_response_alg must support string[] #700
Closed
FranciscoKurpiel
started this conversation in
Ideas
Replies: 1 comment 3 replies
-
You're describing a behaviour which will be in v6.x of which a beta release is available. |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
An identity provider may use multiple algorithms to sign the id token issued after an OpenID authentication. This is explicitly allowed in the specification of OpenID Discovery, by having the attribute
id_token_signing_alg_values_supported
being a string array. There are multiple scenarios where this is necessary, one of which being allowing migration from one algorithm to another without disruption, but there are more.When a client is declared like this:
It will only accept the specified algorithm. When the identity provider is changed to RSA or EdDSA, the code must support both the old and the new algorithms simultaneously, at least during the transition, and possibly forever. But the documentation and the client library code appears to clearly require
id_token_signed_response_alg
to be a string, with a single algorithm.This feature request is change
id_token_signed_response_alg
to bestring | string[]
, bringing it on pair with the expectations from the general behavior and common practices in OAuth 2.0. Since migration between algorithms is not possible without this feature, it may be classified close the border of feature request and bug.Beta Was this translation helpful? Give feedback.
All reactions