You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on May 31, 2022. It is now read-only.
Copy file name to clipboardExpand all lines: spring-security-oauth2/src/main/java/org/springframework/security/oauth2/provider/token/RemoteTokenServices.java
+1-1
Original file line number
Diff line number
Diff line change
@@ -111,7 +111,7 @@ public OAuth2Authentication loadAuthentication(String accessToken) throws Authen
111
111
}
112
112
113
113
// gh-838
114
-
if (!Boolean.TRUE.equals(map.get("active"))) {
114
+
if (map.containsKey("active") && !"true".equals(String.valueOf(map.get("active")))) {
115
115
logger.debug("check_token returned active attribute: " + map.get("active"));
Copy file name to clipboardExpand all lines: spring-security-oauth2/src/test/java/org/springframework/security/oauth2/provider/token/RemoteTokenServicesTest.java
0 commit comments