ory / kratos

Next-gen identity server replacing your Auth0, Okta, Firebase with hardened security and PassKeys, SMS, OIDC, Social Sign In, MFA, FIDO, TOTP and OTP, WebAuthn, passwordless and much more. Golang, headless, API-first. Available as a worry-free SaaS with the fairest pricing on the market!
https://www.ory.sh/kratos/?utm_source=github&utm_medium=banner&utm_campaign=kratos
Apache License 2.0
10.82k stars 935 forks source link

Facebook Limited Login #3955

Open abador opened 2 weeks ago

abador commented 2 weeks ago

Preflight checklist

Ory Network Project

No response

Describe your problem

Facebook is supporting limited login for users that opt-out from tracking : https://developers.facebook.com/docs/facebook-login/limited-login/ . This flow is different than a standard OIDC flow that is supported by Kratos. This might be something that other providers will also support in one way or the other. How it Works Limited Login returns an AuthenticationToken that wraps an OpenID Connect token. The ID token cannot be used to request additional data using the Graph API, such as friends, photos, or pages, and it cannot be used to get other tokens, such as Page or session info tokens. Doing so requires the use of classic Facebook Login (which does not support Limited Login safeguards).

Describe your ideal solution

A new limited API flow is added to Kratos. We would need:

Workarounds or alternatives

Building an external application that supports JWT tokens

Version

1.1.0 with small changes

Additional Context

No response