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
Copy file name to clipboardExpand all lines: oauth2-authorization-server/src/main/java/org/springframework/security/oauth2/server/authorization/oidc/authentication/OidcLogoutAuthenticationProvider.java
+5-3Lines changed: 5 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -18,6 +18,7 @@
18
18
importjava.nio.charset.StandardCharsets;
19
19
importjava.security.MessageDigest;
20
20
importjava.security.NoSuchAlgorithmException;
21
+
importjava.security.Principal;
21
22
importjava.util.Base64;
22
23
importjava.util.List;
23
24
@@ -130,16 +131,17 @@ public Authentication authenticate(Authentication authentication) throws Authent
130
131
131
132
// Validate user identity
132
133
if (oidcLogoutAuthentication.isPrincipalAuthenticated()) {
Copy file name to clipboardExpand all lines: oauth2-authorization-server/src/test/java/org/springframework/security/oauth2/server/authorization/oidc/authentication/OidcLogoutAuthenticationProviderTests.java
+44-2Lines changed: 44 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -317,12 +317,11 @@ public void authenticateWhenInvalidPostLogoutRedirectUriThenThrowOAuth2Authentic
0 commit comments