This issue has been created
There are 7 updates.
 
 
OpenId Connect / cid:jira-generated-image-avatar-0e609dfd-c5ab-4cc2-a427-ff46f837a921 OIDC-223 Closed

NimbusOAuth2Token#getScopes() might fail because of a badly initialized token

 
View issue   ·   Add comment
 

Issue created

 
cid:jira-generated-image-avatar-16853aee-b1a7-4aac-b369-3b0f2a81f9a9 Clément Aubin created this issue on 02/Apr/25 14:00
 
Summary: NimbusOAuth2Token#getToken() might fail because of a badly initialized token
Issue Type: cid:jira-generated-image-avatar-0e609dfd-c5ab-4cc2-a427-ff46f837a921 Bug
Affects Versions: 2.16.1
Assignee: Unassigned
Components: OAuth2
Created: 02/Apr/25 14:00
Priority: cid:jira-generated-image-static-major-16fd4383-e0e6-4249-971c-73b66c9b914c Major
Reporter: Clément Aubin
Description:

When initializing a token scope through NimbusOAuth2Token(OIDCClientConfiguration, BaseObject), the scope value of the XObject is badly transposed within a nimbus Scope. It creates ClassCastExceptions when trying to transpose the scopes of the token into a string list, for example when calling #getScopes()

 
 

7 updates

 
cid:jira-generated-image-avatar-16853aee-b1a7-4aac-b369-3b0f2a81f9a9 Changes by Clément Aubin on 02/Apr/25 14:01
 
Summary: NimbusOAuth2Token# getToken getScopes () might fail because of a badly initialized token
Fix Version: 2.16.2
Documentation in Release Notes: N/A
Documentation: N/A
Assignee: Clément Aubin
Resolution: Fixed
Status: Open Closed