-
Notifications
You must be signed in to change notification settings - Fork 1.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
Suggestion: show how to use spring-social on the login form #12
Comments
You mean in the authserver? It's probably equally interesting to see Spring Social being used as the auth provider (i.e. no auth server). Someone already asked for that (and I think Scott Deeg is working on it) |
I imagine that some people could have their own login screen but with an extra option to let the user login from twitter/github/google etc... |
I agree with hlassiege's question. |
I am also working on a project and faced the same problem, my codes is based on
|
I am trying to add google sign in to this app. can anyone give me hint on how to do that. |
Maybe look at the other tutorial and a pull request in particular about Google: spring-guides/tut-spring-boot-oauth2#6). |
Thanks Dave, (1) Checkout https://github.com/spring-guides/tut-spring-security-and-angular-js/tree/master/oauth2 (2) Delete "authserver" folder (We will use auth-server from another project) (3) Checkout auth-server from social demo: https://github.com/spring-guides/tut-spring-boot-oauth2/tree/master/auth-server (4) Open application.yml of "ui" project and do following changes (https://github.com/spring-guides/tut-spring-security-and-angular-js/blob/master/oauth2/ui/src/main/resources/application.yml)
(5) Open application.yml of auth-server and add google properties(https://github.com/spring-guides/tut-spring-boot-oauth2/blob/master/auth-server/src/main/resources/application.yml):
(6) Open SocialApplication.java of auth-server (https://github.com/spring-guides/tut-spring-boot-oauth2/blob/master/auth-server/src/main/java/com/example/SocialApplication.java): (7) rename application.properties to application.yml of "resource" project (https://github.com/spring-guides/tut-spring-security-and-angular-js/blob/master/oauth2/resource/src/main/resources/application.properties)
(8) Now run auth-server, resource and ui projects and hit "http://localhost:9001/zuul" in browser. |
That's nice. But not relevant to this issue/feature. Thanks though. |
Hi @dsyer I have read the tutorial on Spring Security and Angular It was amazing but I think it is missing the social login part. Would appreciate if you can add this to part v & part vi of the tutorial. |
That would be interresting to see how to use spring social in order to let the user choose a social login in login.ftl.
The text was updated successfully, but these errors were encountered: