Skip to content

Commit 8aabfa8

Browse files
committed
compile error fix
1 parent fae6fc8 commit 8aabfa8

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

config/src/main/java/org/springframework/security/config/annotation/web/configurers/oauth2/client/OidcBackChannelLogoutAuthenticationProvider.java

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,7 @@
3131
import org.springframework.security.oauth2.core.OAuth2AuthenticationException;
3232
import org.springframework.security.oauth2.core.OAuth2Error;
3333
import org.springframework.security.oauth2.core.OAuth2ErrorCodes;
34+
import org.springframework.security.oauth2.core.converter.ClaimTypeConverter;
3435
import org.springframework.security.oauth2.jwt.BadJwtException;
3536
import org.springframework.security.oauth2.jwt.Jwt;
3637
import org.springframework.security.oauth2.jwt.JwtDecoder;
@@ -80,7 +81,8 @@ final class OidcBackChannelLogoutAuthenticationProvider implements Authenticatio
8081
.jwtProcessorCustomizer((processor) -> processor.setJWSTypeVerifier(typeVerifier))
8182
.build();
8283
decoder.setJwtValidator(jwtValidator.apply(clientRegistration));
83-
decoder.setClaimSetConverter(OidcIdTokenDecoderFactory.createDefaultClaimTypeConverter());
84+
decoder.setClaimSetConverter(
85+
new ClaimTypeConverter(OidcIdTokenDecoderFactory.createDefaultClaimTypeConverters()));
8486
return decoder;
8587
};
8688
}

0 commit comments

Comments
 (0)