Skip to content

Tag: heroku

Heroku deployment error “required a bean of type ‘org.springframework.security.oauth2.jwt.JwtDecoder’ that could not be found.”

I am trying to deploy my springboot app to heroku but I am getting an error that it cannot find a JwtDecoder bean. I have tried googling it a bit but can’t find anything that helps. Everything works fine locally, just not when deployed to heroku. Here is my heroku log –tail: WebSecurityConfig: I’m not sure what else to include…