Aws amplify facebook login app - broken url detected

1.1k Views Asked by At

Simple question really. How do I make my facebook app live.

Steps taken... I made a very basic project by running:

  • create-react-app;
  • amplify init;

Then I created a facebook app in facebook for developers.

Using the app id and app secret from that app I ran:

  • amplify add auth
  • amplify push

At which point my amplify project was created in AWS. I took the user pool domain and added it to the facebook app: App domains: [Userpool Domain] Site url: https://[Userpool Domain]/oauth2/idpresponse

At this point I can use aws amplify in my react project to login using facebook, so it must be set up correctly.

But I can't set my facebook app to live, since it complains about a broken url detected. And using the sharing debugger I see the https:///oauth2/idpresponse url returns a response code 400.

Can anyone please tell me. How do I fix this??

This is the error thrown by facebook: enter image description here

0

There are 0 best solutions below