Add default claims policies for id_token#73
Conversation
Added default claims policies for id_token in values.yaml. Signed-off-by: Asitha de Silva <adesilva@linuxfoundation.org>
WalkthroughAdds a default Authelia OIDC claims policy mapping four ID token claims and references that policy from the lfx OIDC client in the Helm values file. Changes
Estimated code review effort🎯 2 (Simple) | ⏱️ ~8 minutes
Possibly related PRs
Pre-merge checks and finishing touches✅ Passed checks (2 passed)
✨ Finishing touches🧪 Generate unit tests (beta)
📜 Recent review detailsConfiguration used: CodeRabbit UI Review profile: CHILL Plan: Pro Disabled knowledge base sources:
📒 Files selected for processing (1)
🔇 Additional comments (2)
Comment |
There was a problem hiding this comment.
Pull Request Overview
This PR adds default claims policies for OpenID Connect (OIDC) id_tokens in the Authelia configuration. The changes configure which user claims will be included in id_tokens by default and apply this policy to the Heimdall client.
- Added a default claims policy specifying standard OIDC claims (email, email_verified, name, preferred_username) to be included in id_tokens
- Applied the default claims policy to the Heimdall client
- Added a new scope
update:current_user_metadatato the Heimdall client's allowed scopes
Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.
emsearcy
left a comment
There was a problem hiding this comment.
Adding claims_policy to make these claims be in the ID token, instead of only in userinfo, looks good, but adding Management API scopes doesn't make sense to me.
Removed 'update:current_user_metadata' from the scopes list. Signed-off-by: Asitha de Silva <adesilva@linuxfoundation.org>
Added default claims policies for id_token in values.yaml.