-
-
Notifications
You must be signed in to change notification settings - Fork 209
Open
Labels
type:featureNew feature or improvement of existing featureNew feature or improvement of existing feature
Description
New Feature / Enhancement Checklist
- I am not disclosing a vulnerability.
- I am not just asking a question.
- I have searched through existing issues.
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
Labels
type:featureNew feature or improvement of existing featureNew feature or improvement of existing feature