Code: Select all
parameter 0 of method setfilterchains in org.springframework.security.config.annotation.web.configuration.WebSecurityConfiguration required a bean of type org.springframework.security.oauth2.jwt.JWTDecoder could not be found
< /code>
Als ich eine der Lösung von Heroku -Bereitstellungsfehler "erforderlich habe, erforderte eine Bean von Typ 'org.springframework@SpringBootApplication(scaneBasePackages="org.springframework.security.oauth2.jwt")
< /code>
Ich sehe den Fehler nicht.@Bean
public JwtDecoder jwtDecoder() {
return JwtDecoders.fromIssuerLocation("your-issuer-uri");
}