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 个月前

您未登录。 登录 发布回答。

一个好的回答可以清楚地解答问题和提供建设性反馈,并能促进提问者的职业发展。

回答问题的准则