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 個回答
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
已回答 9 個月前

您尚未登入。 登入 去張貼答案。

一個好的回答可以清楚地回答問題並提供建設性的意見回饋,同時有助於提問者的專業成長。

回答問題指南