Closed mtrezza closed 4 months ago
Note: The bounty scope includes https://github.com/parse-community/Parse-SDK-iOS-OSX/issues/1787.
For reference, here the PR that implemented FB limited login server side: https://github.com/parse-community/parse-server/pull/7219. It defined:
Classic Graph API login (no change)
{ id: "your_facebook_id", access_token: "facebook_graph_api_access_token" }
Limited Login
{ id: "your_facebook_id", token: "openid_token" }
π This change has been released in version 6.5.6
π This change has been released in version 7.1.0-alpha.7
π This change has been released in version 7.1.0-beta.1
π This change has been released in version 7.1.0
For some reason, I can only use below structure for both Limited and Classic: (Parse server 7.2.0)
{
id: "your_facebook_id",
token: "openid_token"
}
If I replace token
by access_token
in classic mode, it says:
Status Code: 101
Type: ObjectNotFound
Error: Facebook auth is invalid for this user.
@pdkcoder Does it work for both classic and limited login?
Hi @mtrezza Yes it works for both
@pdkcoder Could you open a new issue and describe the issue in more detail with sample code?
New Feature / Enhancement Checklist
Current Limitation
Due to Apple's ATT requirements, the "normal" Facebook Login requires a user to allow app tracking. For users who do not allow app tracking, Facebook Limited Login must be used instead, which uses JWT for authentication. Parse Server currently only supports the token provided by "normal" Facebook Login. It does not support the token generated by Limited Login.
This is an urgent issue, because:
That means that Parse Server (and possibly the Parse Apple SDK) currently do not support Facebook auth when submitting a new app or an app update to the AppStore with Facebook SDK 17.
See https://github.com/parse-community/Parse-SDK-iOS-OSX/issues/1787
Feature / Enhancement Description
Extend the Facebook auth adapter, so that it supports JWT auth from Facebook Limited Login. Ideally, no change will be required on the Parse Apple SDK side.
Alternatives / Workarounds
Unknown.
3rd Party References