TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

Ask HN: Sign Up with Facebook/Apple/Google – API or OAuth?

2 点作者 brittpart_超过 4 年前
What is this technology called? An API, OAuth? I'm trying to do some research on how this works but I'm not sure what I should be researching.

2 条评论

noodlesUK超过 4 年前
Social login and SSO is generally implemented these days as OIDC (which is based on oauth2). You can read the RFCs for it, and they pretty much explain the whole thing.<p>Oauth2: <a href="https:&#x2F;&#x2F;tools.ietf.org&#x2F;html&#x2F;rfc6749" rel="nofollow">https:&#x2F;&#x2F;tools.ietf.org&#x2F;html&#x2F;rfc6749</a><p>PKCE (replaces the implicit flow): <a href="https:&#x2F;&#x2F;tools.ietf.org&#x2F;html&#x2F;rfc7636" rel="nofollow">https:&#x2F;&#x2F;tools.ietf.org&#x2F;html&#x2F;rfc7636</a><p>OIDC: <a href="https:&#x2F;&#x2F;openid.net&#x2F;specs&#x2F;openid-connect-core-1_0.html" rel="nofollow">https:&#x2F;&#x2F;openid.net&#x2F;specs&#x2F;openid-connect-core-1_0.html</a>
评论 #25555291 未加载
cuu508超过 4 年前
They don&#x27;t always make it obvious, but it is usually OAuth2, sometimes with tweaks