0

I like to use the Authorization-endpoint endpoint of user pool to authenticate with facebook.

Authorization-endpoint of aws incognito for a federated Facebook identity pool of a user pool returns status 400 bad request. No more details in the payload of error, just some HTML. How can i get more detailed information on whats going wrong?

Usage:

curl 'https://<mydomain>.auth.eu-central-1.amazoncognito.com/oauth2/authorizer?response_type=code&client_id=<myAppClientId>&redirect_uri=https://<customdomain>.com&state=profile+aws.cognito.signin.user.admin&identity_provider=Facebook'

Configuration of AppClient: enter image description here

Sma Ma
  • 3,343
  • 2
  • 31
  • 39
  • 1
    You should check error message. If you are getting `redirect_mismatch` , this means that the redirect url is different from defined in configuration. – Edgard Leal May 16 '19 at 13:57
  • @EdgardLeal, there is no error message provided in response html: `

    An error was encountered with the requested page.


    View error

    – Sma Ma May 16 '19 at 15:38
  • 1
    found it. the url endpoint was `/oauth2/authorizer` instead of `oauth2/authorize`. @EdgardLeal, thank you very mutch for listen to me ;) ! – Sma Ma May 16 '19 at 16:00

0 Answers0