Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Facebook Limited Login #3955

Open
5 tasks done
abador opened this issue Jun 17, 2024 · 0 comments
Open
5 tasks done

Facebook Limited Login #3955

abador opened this issue Jun 17, 2024 · 0 comments
Labels
feat New feature or request.

Comments

@abador
Copy link
Contributor

abador commented Jun 17, 2024

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:

  • JWT token validation
  • using the token payload to link/unlink/login via the API

Workarounds or alternatives

Building an external application that supports JWT tokens

Version

1.1.0 with small changes

Additional Context

No response

@abador abador added the feat New feature or request. label Jun 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feat New feature or request.
Projects
None yet
Development

No branches or pull requests

1 participant