Repository navigation
Processing a list of role names in the token claims #91
|
What's the preferred approach for list claims in tokens? I noticed a difference in behavior between mod_auth_openidc and mod_oauth2 that I'd like to ask about. I'm trying to process tokens from Entra ID. In tokens sent to my system for both the OIDC and OAuth2 auth flows, the user's assigned roles arrive in a claim formatted as a JSON-style list; e.g., The OIDC module parses the claim with a JSON list and yields a claim with a simple comma-separated value list; e.g., In contrast, the OAuth2 module passes the JSON list exactly as received. So the original value from the token, something like I just wanted to ask if you would accept an enhancement request so module OAuth2 emulates OpenIDC behavior and pre-parses the list. Thanks for listening. |
Replies: 1 comment 1 reply
|
since it was flagged here #92 as well, it may be a good idea |
since it was flagged here #92 as well, it may be a good idea