Skip to content

Support Facebook Limited Login #1003

Open
@tran-huy-phuc

Description

@tran-huy-phuc

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"
            }
);

Metadata

Metadata

Assignees

No one assigned

    Labels

    type:featureNew feature or improvement of existing feature

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions