API Gateway Authorizer giving 401 for Cognito

0

I created an Authorization code grant, user pool, then associated an AGW Authorizer to the user pool. When I tested Cognito HostedUI's authorization code with the Test Authorizer it returned a 401.

1 Antwort
0

Hi, API Gateway can return 401 Unauthorized errors for a variety of reasons. Have you checked https://repost.aws/knowledge-center/api-gateway-cognito-401-unauthorized? It has detailed procedure to troubleshoot common 401 errors.

AWS
snathan
beantwortet vor 9 Monaten

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