norristong2's recent timeline updates
norristong2

norristong2

V2EX member #454158, joined on 2019-11-19 20:04:21 +08:00
norristong2's recent replies
Jan 29, 2022
Replied to a topic by ivanMeng 问与答 如何最小代价的实现单点登录。
可以使用开源的框架,不过搭建很麻烦。最小代价就是用一个第三方的 SaaS 服务,我自己做的小工具就用的这家的,有免费版本的: https://www.authing.cn/learn/sso
跟域名没有太大相关性,“直接将用户的信息返回,而是返回一个授权码 code ,再使用 code 在业务后端换取 Access token ,再用 Access token 获取用户信息。成熟、正规的业务系统产品都会支持标准协议,使用标准协议对接可以一劳永逸地完成对接。标准协议的推荐度:OIDC > SAML2 > CAS 1.0 > LDAP > OAuth2.0 。”

可以看看这个 https://docs.authing.cn/v2/guides/sso/


- https://cdn.authing.co/authing-docs-v2/1.1.72/assets/img/app-device-logout-6.f739ed29.png
- https://docs.authing.cn/v2/concepts/single-sign-on-and-single-sign-out.html

可以参考这家公司的设计方案,“返回一个授权码 code ,再使用 code 在业务后端换取 Access token ,再用 Access token 获取用户信息。”
Jan 29, 2022
Replied to a topic by saltbo 问与答 求问有没有开源的账号系统?
@saltbo 国内有一家叫 authing 的公司在做身份云,用起来还挺简单实用的,楼主可以看看。authing.cn
About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   2493 Online   Highest 6679   ·     Select Language
创意工作者们的社区
World is powered by solitude
VERSION: 3.9.8.5 · 224ms · UTC 04:02 · PVG 12:02 · LAX 21:02 · JFK 00:02
♥ Do have faith in what you're doing.