Unable to authenticate with Amplify GraphQL query UI

0

When authenticating with Amazon Cognito User pool I get an error with the message "Network Error". In the console I can see that the issue is a Content Security Policy when clicking on the "login" button.

main.js:246 Refused to connect to 'https://cognito-idp.eu-north-1.amazonaws.com/' because it violates the document's Content Security Policy.

When the pop-up dialog opens for providing the credentials (Userpool clientID, username and password) the following error throws:

Refused to connect to 'https://cognito-idp.eu-north-1.amazonaws.com/' because it violates the following Content Security Policy directive: "connect-src https://eu-north-1.console.aws.amazon.com/appsync/tb/creds https://eu-north-1.console.aws.amazon.com/p/ https://eu-north-1.console.aws.amazon.com/phd/ https://*.ccs.amazonaws.com https://eu-n....

Any idea if this is a bug on AWS side?

Keine Antworten

Du bist nicht angemeldet. Anmelden um eine Antwort zu veröffentlichen.

Eine gute Antwort beantwortet die Frage klar, gibt konstruktives Feedback und fördert die berufliche Weiterentwicklung des Fragenstellers.

Richtlinien für die Beantwortung von Fragen