amazon-web-services - {"message":"Unauthorized"} 在 Cognito Authorizer 中的 API 网关中
问题描述
当我将 cognito 授权方添加到 API Gateway 中定义的 API 时,我收到 {"message":"Unauthorized"} 错误。我做了以下事情:
- 配置了 Cognito 授权方
- 在 API 方法中添加了 Authorizer
- 部署 API
当我点击 API 网址时。我收到 {"message":"Unauthorized"} 错误。我错过了什么吗?
解决方案
推荐阅读
- vue.js - 悬停时逐渐放大 Vuetify 中的按钮
- sql-server - 仅显示仅包含 [a-z0-9] 的行
- python - 安装 gnuhealth 客户端 $ pip3 install --user --upgrade gnuhealth-client
- asp.net - Azure authentication for ASP.net core API and React client
- python-3.x - Can a list with repeating values be converted into a multiset in python?
- sql - Time overlaps from Nesting queries
- openapi - Open API 3.0 parameter dependencies: required parameters if type is "one of" (with shared parameters)
- jquery - JQuery returns DOM element when I haven't imported it but an object when I have
- c++ - `wide-exec-charset` dose not change the charset of `wchar_t`
- java - using one maven project into another maven project