-
Notifications
You must be signed in to change notification settings - Fork 169
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
Access Token is invalid #521
Comments
I believe this is related to this: #514 and this: #520 (comment)
One consequence of being opted into limited login is that the accessToken that is returned for limited login no longer gives access to graph api and the data (I believe) is instead included in the accessToken. Sorry to say nothing to be done on this sdk, if you have issues with this please take them to this issue in Facebook sdk: facebook/facebook-ios-sdk#2384 |
@brainbicycle yeah that's correct, so the only option left for ios server-side token verification is |
I had similar issue, and ended-up sending this token to api and verify using jwks. Sample python code below
|
thank you so much @vyshakh I could successfully do the same thing for js and I'll paste it here for reference
|
@SamLafte thank you for the implementation of the Authorization Token validation 👍 |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
sorry guys, what is the state of this issue? we cant use loginWithPermissions() anymore on iOS? |
Does anyone know how we can get the Facebook user ID? |
when i set the |
Hi all, I can successfully get the access token from the code below:
and I can also get the user's data including their email address with the code below:
The problem is I need to verify the access token in my server to verify and extract user's email out of it, whenever I try to verify the accessToken by sending it to https://graph.facebook.com/me?fields=email&access_token=${token} I receive the below error:
{"error":{"message":"Invalid OAuth access token data.","type":"OAuthException","code":190,"fbtrace_id":"ACyLy8i7Jqqk3XK87GDKCF6"}}
When I debug the access token I see the below:
Am I missing something or it's some kind of a bug?
The text was updated successfully, but these errors were encountered: