Closed henobi closed 2 years ago
Hey @henobi, I am reproducing this now. Give me at most 2 days and I will get back to you. Are you running into the issue for a mobile or web app?
I was able to successfully setup my social signin with facebook. What issues are you running to specifically? I was only able to login via web.
Hi @evcodes, thank you for reproducing this issue.
The error I'm running into is
Redirect from hosted ui to localhost: http://localhost:8080/?error_description=Bad+id_token+issuer+https%3A%2F%2Fwww.facebook.com&state=AQeD5afDRRx2ns2mMVM9rWJfNKPhr9U8&error=invalid_request
error_description: Bad id_token issuer https://www.facebook.com
state: AQeD5afDRRx2ns2mMVM9rWJfNKPhr9U8
error: invalid_request
It's related to that: https://github.com/aws-amplify/amplify-ios/issues/1492
And also here: https://forums.aws.amazon.com/thread.jspa?threadID=347111
Are you running into this issue on the browser, react native, or ios?
In the browser (React)
@henobi can you try re-entering your FB App ID and App Secret through the CLI by running amplify update auth
?
If you can get a jwt from FB, can you check the token's payload at https://jwt.io and see what the iss
(Issuer URL) property might be? Maybe it's changed from Facebook?
Also, can you share the code you're using to login with Facebook? This is to check whether you are using the Identity Pool or User Pool approach.
+1
Hey @henobi, did @chrisbonifacio comment above resolve your issue? Please let us know
Closing as there was no response, if the issue was not resolved please feel free to re-open the ticket
This issue has been automatically locked since there hasn't been any recent activity after it was closed. Please open a new issue for related bugs.
Looking for a help forum? We recommend joining the Amplify Community Discord server *-help
channels or Discussions for those types of questions.
Before opening, please confirm:
JavaScript Framework
React
Amplify APIs
REST API
Amplify Categories
auth, function, api
Environment information
Describe the bug
We are using facebook as social provider login. Until a few weeks it worked just fine, but now we are receiving an error after the redirect back to our webpage.
At the moment our users can not login with facebook.
Google login is working just fine.
Expected behavior
The facebook login should work.
Reproduction steps
Code Snippet
Log output
aws-exports.js
No response
Manual configuration
No response
Additional configuration
No response
Mobile Device
No response
Mobile Operating System
No response
Mobile Browser
No response
Mobile Browser Version
No response
Additional information and screenshots
https://transfer.sh/Hyf0AJ/localhost.har