Cognito UserPool behave differently in me-south-1 and us-east-1

0

I'm having an issue trying to login to perform authorization code grant with swagger-ui against cognito in Bahrain. My "setup" used to be working fine for months, but today it's not (no changes were made on my side). For comparison I've created identical user pool in us-east-1 and swagger-ui is able to perform login with no issue with new pool. Details about error I observe: swagger-ui on it's "redirect" endpoint uses "window.opener" to complete code exchange. On redirect from me-south-1 user pool "window.opener" is null, so swagger-ui isn't able to complete code exchange. According to docs one possible reason for "opener" to be null is having a Cross-Origin-Opener-Policy header with a value of "same-origin", that's what I assume is the reason.

YP
demandé il y a 7 mois63 vues
Aucune réponse

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