-
Notifications
You must be signed in to change notification settings - Fork 6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
spring boot 2.0.3 oauth2 google and facebook authentication #5513
Comments
@jgrandja I have already taken a look at the sample but I cannot figure out where the problem is. |
@dani-t Correct, the Boot auto-configuration support for WebFlux https://github.com/spring-projects/spring-security/tree/master/samples/boot/oauth2login-webflux/src/main/java/org/springframework/boot/autoconfigure/security/oauth2/client https://github.com/spring-projects/spring-security/blob/master/samples/boot/oauth2login-webflux/src/main/resources/META-INF/spring.factories Try this out, it should work. |
I just found out that Boot has added the auto-configuration support to 2.1.M1. See this issue. So instead of copying the files as suggested in my previous comment, use Boot 2.1.M1 instead. |
Hi, I'm just experimenting with |
have struggled a bit to get it working with the current SNAPSHOT version.
By the way the |
I think
As I hijacked another issues - should I raise this separately here as a github issue or directly on JIRA? |
done, #5598 |
@dani-t Have you tried this with Boot 2.1.M1? The M1 release includes the auto-configuration support for WebFlux I'd appreciate if you could close this issue after you have confirmed that it works (as it should) with Boot 2.1.M1 |
@dani-t I'm going to close this issue due to lack of feedback. If you are still having an issue than we can re-open. |
Summary
spring boot 2.0.3 oauth2 google and facebook authentication
Actual Behavior
Expected Behavior
After checking a few resources and the spring security oauth2 docs https://docs.spring.io/spring-security/site/docs/current/reference/html5/#jc-oauth2login I am expecting that all this code will configure the application as an @EnableWebFlux with @EnableWebFluxSecurity and will configure the default ClientRepository with the clients provided in properties file.
They say when you access your app you will get a list with the clients you added. Instead I receive a basic authentication mechanism. Any idea what is happening or am I doing something wrong?
Configuration
Version
2.0.3
Sample
The text was updated successfully, but these errors were encountered: