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-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -113,7 +113,7 @@ public OAuth2Authentication loadAuthentication(String accessToken) throws Authen
113
113
}
114
114
115
115
// gh-838
116
-
if (!Boolean.TRUE.equals(map.get("active"))) {
116
+
if (map.containsKey("active") && !"true".equals(String.valueOf(map.get("active")))) {
117
117
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