Cognito oath2 authorize redirect gives DNS_PROBE_FINISHED_NXDOMAIN

1

I provisioned a user pool in Cognito via a Amplify application. Everything was working and I authenticate user. Now I am getting DNS_PROBE_FINISHED_NXDOMAIN when I redirect to the authorize URL. I saw on other posts re: Cognito that it could be something with Route53 hosted zones. I checked that but I am guessing Cognito hosted zones don't appear there. Any ideas? The redirect URL to the authorize endpoint is generated by the UI tags that are out of the box from the Amplify JS library so it appears to be correct.

Tim
demandé il y a 2 ans429 vues
1 réponse
0

I was using AWS Amplify and I realized that the 'aws-exports' file that was generated wasn't updated correctly. Looked at the Amazon Cognito URL that it should be using and it was wrong. After correcting it that got me past the mentioned error.

Tim
répondu il y a 2 ans

Vous n'êtes pas connecté. Se connecter pour publier une réponse.

Une bonne réponse répond clairement à la question, contient des commentaires constructifs et encourage le développement professionnel de la personne qui pose la question.

Instructions pour répondre aux questions