zl程序教程

您现在的位置是:首页 >  其他

当前栏目

web前端接入第三方sso登录 (github、google)

GoogleGitHubWeb前端 登录 第三方 接入 SSO
2023-09-27 14:22:16 时间

web网站接入GitHub第三方登录(踩坑):https://www.jianshu.com/p/613ed2a9f768

github单点登录实现:

==========================

设置一个登录按钮的跳转信息配置:

<a href="https://github.com/login/oauth/authorize?client_id=yourclientid&redirect_uri=yourredirect_uri">github登录</a>

 

 

 

 

 

点击授权后,跳转你设置的回调地址。

 

 

 

 

====================================

google单点登录实现: