OIDC: Essential claims parameter not supported #9
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Issue
The OIDC
claimsparameter is not being captured or used, causing a WARNING in the OpenID Connect conformance test suite (test:oidcc-claims-essential).Background
Per OIDC Core §5.5, the
claimsparameter allows clients to request specific claims with optionalessentialflags:This tells the IdP: "I specifically need the
nameclaim for this app to function."Current Behavior
claimsparameter is never captured in the authorize endpoint (app/controllers/oidc_controller.rb:59-320)claimsparameterTest Results
The test passes (SUCCESS) but with a WARNING because the essential
nameclaim was not returned.Privacy Consideration
This is arguably correct behavior for a privacy-preserving IdP. Per Connect2ID's documentation:
The
essentialflag is the client's way of saying "I need this" - it doesn't force the IdP to share data without proper consent.Options
A) Accept the warning (current approach, minimal changes)
B) Full essential claims support
claimscolumn tooidc_authorization_codesandoidc_access_tokenstablesclaimsparameter in authorize endpointC) UX-only improvement
claimsparameterRelated
Recommendation
Start with Option C (UX-only improvement) to improve user transparency without changing privacy behavior. This: