File tree Expand file tree Collapse file tree 1 file changed +2
-1
lines changed
oauth2/oauth2-jose/src/main/java/org/springframework/security/oauth2/jwt Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Original file line number Diff line number Diff line change 84
84
* @author Joe Grandja
85
85
* @author Mykyta Bezverkhyi
86
86
* @author Daeho Kwon
87
+ * @author Andrey Litvitski
87
88
* @since 5.2
88
89
*/
89
90
public final class NimbusJwtDecoder implements JwtDecoder {
@@ -240,7 +241,7 @@ public static JwkSetUriJwtDecoderBuilder withIssuerLocation(String issuer) {
240
241
* @return a {@link JwkSetUriJwtDecoderBuilder} for further configurations
241
242
*/
242
243
public static JwkSetUriJwtDecoderBuilder withJwkSetUri (String jwkSetUri ) {
243
- return new JwkSetUriJwtDecoderBuilder (jwkSetUri );
244
+ return new JwkSetUriJwtDecoderBuilder (( __ ) -> jwkSetUri , JwtDecoderProviderConfigurationUtils :: getJWSAlgorithms );
244
245
}
245
246
246
247
/**
You can’t perform that action at this time.
0 commit comments