1 Answer
- Newest
- Most votes
- Most comments
0
【以下的回答经过翻译处理】 嗨,
POST
方法和 /oauth2/token
路径似乎都没问题。您能确认您发送了带有值为 application/x-www-form-urlencoded
的 Content-Type
头部吗?根据 [AWS 文档]https://docs.aws.amazon.com/cognito/latest/developerguide/token-endpoint.html#post-token,此头部是强制要求的,必须包含指定的值。
Relevant content
- asked a year ago
- asked a year ago
- AWS OFFICIALUpdated a year ago
- AWS OFFICIALUpdated a year ago
- AWS OFFICIALUpdated a year ago
- AWS OFFICIALUpdated 3 years ago