Skip to content

Support Facebook Limited Login #1003

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

Open
3 tasks done
tran-huy-phuc opened this issue Aug 1, 2024 · 2 comments
Open
3 tasks done

Support Facebook Limited Login #1003

tran-huy-phuc opened this issue Aug 1, 2024 · 2 comments
Labels
type:feature New feature or improvement of existing feature

Comments

@tran-huy-phuc
Copy link

tran-huy-phuc commented Aug 1, 2024

New Feature / Enhancement Checklist

Current Limitation

Facebook Login does not support Facebook Limited

Feature / Enhancement Description

When calling loginWith() method to login with facebook, we can pass below built-in facebook (a map):

Map<String, dynamic> facebook(String token, String id, DateTime expires) {
  return <String, dynamic>{
    'access_token': token,
    'id': id,
    'expiration_date': expires.toString()
  };
}

Facebook now have another Facebook Limited version, which is described here: https://docs.parseplatform.org/parse-server/guide/#facebook-authdata

Alternatives / Workarounds

We may be able to pass a map directly to login with Facebook Limited:

ParseUser.loginWith(
            'facebook',
            {
                "id": "user's Facebook id number as a string",
                "token": "a JWT token from Facebook SDK limited login"
            }
);
Copy link

parse-github-assistant bot commented Aug 1, 2024

Thanks for opening this issue!

  • 🎉 We are excited about your ideas for improvement!

@mbfakourii mbfakourii added the type:bug Impaired feature or lacking behavior that is likely assumed label Aug 1, 2024
@mtrezza mtrezza added type:feature New feature or improvement of existing feature and removed type:bug Impaired feature or lacking behavior that is likely assumed labels Aug 10, 2024
@shafeekghaseel
Copy link

shafeekghaseel commented Dec 10, 2024

@thphuccoder Issue fixed? did you find any solution for this?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type:feature New feature or improvement of existing feature
Projects
None yet
Development

No branches or pull requests

4 participants