Skip to content

Commit ccd79a4

Browse files
committed
Polish gh-1949
1 parent ff320f3 commit ccd79a4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

oauth2-authorization-server/src/main/java/org/springframework/security/oauth2/server/authorization/authentication/OAuth2RefreshTokenAuthenticationProvider.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -165,7 +165,7 @@ public Authentication authenticate(Authentication authentication) throws Authent
165165
Jwt dPoPProof = DPoPProofVerifier.verifyIfAvailable(refreshTokenAuthentication);
166166

167167
if (dPoPProof != null
168-
& clientPrincipal.getClientAuthenticationMethod().equals(ClientAuthenticationMethod.NONE)) {
168+
&& clientPrincipal.getClientAuthenticationMethod().equals(ClientAuthenticationMethod.NONE)) {
169169
// For public clients, verify the DPoP Proof public key is same as (current)
170170
// access token public key binding
171171
Map<String, Object> accessTokenClaims = authorization.getAccessToken().getClaims();

0 commit comments

Comments
 (0)