如何让我的Spring 4应用程序变得像Gmail登录一样的aouth2服务器提供商?(How to truns my Spring 4 app to a aouth2 server provider

编程入门 行业动态 更新时间:2024-10-27 21:19:16
如何让我的Spring 4应用程序变得像Gmail登录一样的aouth2服务器提供商?(How to truns my Spring 4 app to a aouth2 server provider like Gmail login?)

我正在研究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 ;)

更多推荐

本文发布于:2023-08-07 23:43:00,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1466466.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:提供商   应用程序   服务器   Gmail   Spring

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!