Settings

Theme

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

2 points by brittpart_ · 3 comments · 1 min read


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 threads
noodlesUK

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.

Oauth2: https://tools.ietf.org/html/rfc6749

PKCE (replaces the implicit flow): https://tools.ietf.org/html/rfc7636

OIDC: https://openid.net/specs/openid-connect-core-1_0.html

  • brittpart_OP

    So essentially the UI is called SSO and the authentication happens with Oauth2/OIDC - that's the combo Apple uses.

    Do you know what the barrier to entry is for a company to integrate another company's SSO?

cuu508

They don't always make it obvious, but it is usually OAuth2, sometimes with tweaks

Keyboard Shortcuts

j
Next item
k
Previous item
o / Enter
Open selected item
?
Show this help
Esc
Close modal / clear selection