Completed
Details
Assignee
Henri MikkonenHenri MikkonenReporter
Henri MikkonenHenri MikkonenComponents
Fix versions
Details
Details
Assignee
Henri Mikkonen
Henri MikkonenReporter
Henri Mikkonen
Henri MikkonenComponents
Fix versions
Created June 5, 2024 at 12:53 PM
Updated July 2, 2024 at 11:53 AM
Resolved July 2, 2024 at 11:53 AM
For legacy reasons, the scope value in
TokenClaimsSet
and its token-type specific subclasses is required to be non-null. The flows/endpoints are already compatible with the plain OAuth2 requests: unlike with OIDC, the use ofscope
is then optional.For instance SetAuthorizationCodeToResponseContext has tackled the non-null requirement by setting an empty Scope object value to the claims set when scope has been absent in the authorization request. But obviously it should simply use null instead after the claims set allows it.