You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It starts just fine if I have my OKTA_* environment variables provided in an .env file and mapped in application.properties. However, once I had the following dependency (because I want to configure WebClient to handle HATEOAS), it fails to start.
Description:
Parameter 0 of constructor in com.example.apigateway.config.SecurityConfiguration required a bean of type 'org.springframework.security.oauth2.client.registration.ReactiveClientRegistrationRepository' that could not be found.
Action:
Consider defining a bean of type 'org.springframework.security.oauth2.client.registration.ReactiveClientRegistrationRepository' in your configuration.
> Task :boot run FAILED
If I remove the dependency, the app starts fine.
Expected behavior
I should be able to use Spring HATEOAS with the Okta Spring Boot starter.
Steps to reproduce
git clone https://github.com/oktadev/auth0-java-microservices-examples.git
cd auth0-java-microservices-examples/spring-boot-gateway-webflux
Then, follow the instructions in the README to configure Auth0 and watch it fail when it starts. Remove the spring-boot-starter-hateoas dependency, and it starts just fine.
SDK Version
3.0.5
The text was updated successfully, but these errors were encountered:
I'm submitting a
Background info
If I have a project with the following dependencies:
It starts just fine if I have my
OKTA_*
environment variables provided in an.env
file and mapped inapplication.properties
. However, once I had the following dependency (because I want to configureWebClient
to handle HATEOAS), it fails to start.The error is:
If I remove the dependency, the app starts fine.
Expected behavior
I should be able to use Spring HATEOAS with the Okta Spring Boot starter.
Steps to reproduce
Then, follow the instructions in the README to configure Auth0 and watch it fail when it starts. Remove the
spring-boot-starter-hateoas
dependency, and it starts just fine.SDK Version
3.0.5
The text was updated successfully, but these errors were encountered: