我正在研究spring 4 mvc web应用程序,并且我想将我的应用程序转换为oauth2服务器提供程序,换句话说,我希望应用程序成为可以在其他网站中登录的社交网络,而另一个网站用户尝试登录时,他们为他提供了一个选项,可以用我的应用程序登录并将他重定向到我的应用程序(用户已经在我的应用程序中注册),并要求他允许共享他的数据
任何帮助从哪里开始?
I'm working on spring 4 mvc web app, and I want to turns my app to oauth2 server provider, in other words, I want the app to be a social network that can be logged in with in other websites, when the other website user tries to log in they offer him an option to login with my app and redirect him to my app (the user is already registered on my app) and ask him to allow sharing his data
any help where to start?
最满意答案
经过大量的阅读和研究,我做到了! 这里有一些有用的链接:
O-Auth2协议: https ://www.digitalocean.com/community/tutorials/an-introduction-to-oauth-2
O-Auth的Spring实现: https : //raymondhlee.wordpress.com/2014/12/21/implementing-oauth2-with-spring-security/
任何Q只是发表评论;)
after lots of reading and researching, I made it! and here are some useful links:
O-Auth2 Protocol : https://www.digitalocean.com/community/tutorials/an-introduction-to-oauth-2
Spring implementation for O-Auth : https://raymondhlee.wordpress.com/2014/12/21/implementing-oauth2-with-spring-security/
any Qs just leave a comment ;)
更多推荐
发布评论