Back to All

Facebook ATT disabled but the token is malformed or not JWT

Our web front end can successfully use the JS bridge to perform a login with facebook. We receive the following parameters in IOS

accessToken=<ACCESS_TOKEN>
userId=<USER_ID>
state
type=facebook

The login process takes the user through the limited.facebook.com prompt, understandable because we dont expect to use ATT

The issue we are having is the token is neither recognised by facebook. Its not a JWT token because its missing periods . in the token. Its a token that we have no clue what to do with

We followed the documentation and 100% implemented the app correctly. According to the docs this token should be a JWT that we can decode server side, referencing and Median's own documentation
https://developers.facebook.com/docs/facebook-login/limited-login/token/validating

We tried using the https://developers.facebook.com/tools/debug/accesstoken/ facebook token debugger and its not recognized at all, this is where we get the error

OAuth access token - Cannot parse access token

Tried using the javascript callback functions, our own and then the js callback from median's documentation which uses a very old v12 of FB SDK. But nothing works

We are currently stuck here and the token doesnt work with the Facebook Graph API and the token is not JWT, its a token that seems to just be something median's social plugin creates and send.

I would have a look at the social login plugin myself if i could but its a locked down pod so there is no way for me to track this issue.

We paid a lot of money to use this service and we cannot use social login at all in its current state. Please assist