bug org.springframework.security.oauth2.server.resource.introspection.SpringOpaqueTokenIntrospector introspect method error #14802
Labels
in: oauth2
An issue in OAuth2 modules (oauth2-core, oauth2-client, oauth2-resource-server, oauth2-jose)
type: bug
A general bug
Describe the bug
java.lang.UnsupportedOperationException: null
at java.base/java.util.Collections$EmptyMap.computeIfPresent(Collections.java:4770)
To Reproduce
in method introspect if claims is null,invoke method convertClaimsSet will throw UnsupportedOperationException。
Expected behavior
1.in method adaptToNimbusResponse return new HashMap()。
so next method use claims will not throw UnsupportedOperationException。
The text was updated successfully, but these errors were encountered: