Cognito Facebook Login: bad id_token issuer

0

I'm trying to get my react native application working with social logins. After clicking the login button in the Hosted UI, my network traffic shows my app callback along with the following error message attached:

error_description=Bad_id_token_issuer+https%3A%2F%2Fwww.facebook.com&error=invalid_request

Has anyone run into this issue before? I've been stumped on it for a couple of weeks now and can't seem to find a similar issue anywhere.

Thanks in advance@

asked 3 years ago1.1K views
9 Answers
0

I am facing the same problem with the Cognito Facebook Login. This is my first time to implement a social login with Cognito so I assumed it was something I did wrong. Might still be.

answered 3 years ago
0

I am facing the same problem with the Cognito Facebook Login. This is my first time to implement a social login with Cognito so I assumed it was something I did wrong. Might still be.

answered 3 years ago
0

I thought the same thing until I implemented Google Sign In and noticed that's working correctly. Looks like Cognito doesn't know about the 'https :// www. facebook.com' issuer (possibly just expecting 'Facebook'??) so it keeps rejecting the token.

Edited by: menubles on Oct 26, 2021 9:53 AM

Edited by: menubles on Oct 26, 2021 9:53 AM

answered 3 years ago
0

This has just started happening to me. Is the implication that facebook changed the issuer name and this has broken using facebook as a federated identity provider in cognito? If so and the Cognito team have not fixed it yet why is someone not shouting very loudly? Otherwise is no-one actually using federated identity with facebook in production systems? Or am i missing something?

answered 3 years ago
0

Same problem here. It`s becoming urgent.

@AWS: When will it be fixed?

Thank you very much.

Edited by: obi1 on Nov 20, 2021 6:00 AM

answered 3 years ago
0

+1

answered 3 years ago
0

We are aware of the issue and are working on a resolution.

AWS
answered 3 years ago
0

The issue with Amazon Cognito User Pools where customers federating through Facebook were receiving the error “Bad id_token issuer https://www.facebook.com” has been resolved. If you are still encountering this issue please reach out to us.

AWS
answered 3 years ago
0

Woooo. Thanks so much AWS Team!

answered 3 years ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions