-
Notifications
You must be signed in to change notification settings - Fork 5.9k
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
Integration of Faceboot OAuth Android, IOS SDK, Google Open ID Android, IOS SDK with Spring Security #6461
Comments
Agreed. And we should provide an easy way for mobile developers to implement this in a secure manner. Native apps can be tricky. Let me dig into this a bit deeper and get back to you. In the meantime, you may find this useful - OAuth 2.0 for Native Apps. |
@jgrandja Is this specification in Practice ie any Real Example useing it? Because most of OAuth and OpenID provider like Facebook, Google, Linkedin are providing SDK for Native Apps for doing Login With Them. |
I'm not aware of any applications/libraries that are using it. However, I would expect there are a few out there given this reference documents best practices on how to integrate with native apps. |
Maybe there are already appeared some examples of this use case? |
Is there any update for this issue? |
Closing in favour of spring-security-samples#11 and spring-security-samples#12. |
@jgrandja @rwinch @jzheaux I am working on a project with Android and IOS developers.
We have our backend as full Spring Stack(Spring Boot) and Front end as Native Android & Native
IOS Apps.
We want to do login with Google and Facebook in our Frontend(Native Android & Native IOS Apps).
Frontend developes have already implemented:
https://developers.facebook.com/docs/facebook-login/android/
https://developers.facebook.com/docs/facebook-login/ios/
https://developers.google.com/identity/sign-in/android/backend-auth(Please Check TODO in Step 4
Given By Google).
So now few quesions I would like to put and have Healthy Discuss with Spring Security Team:
Possible solution I can think of is to provide a AuthenticationFilter which take Provider and
Token as input which validates Token with a Provider with some mechanish. The Filter based on
result of Token validation do the authentication and authorization.
I think this usecase is very common and will be encountered by almost every Spring Developer.
I could have written this question on StackOverFlow. But I have written here because I would like this
use case either to be discribed in Spring Security Reference Documentation by some Examples or have inbuild support for it in Spring Security by some means based on the outcome of this discussion
The text was updated successfully, but these errors were encountered: