【发布时间】:2019-12-02 11:45:36
【问题描述】:
几个月前我配置了一个 AWS Cognito 用户池并将其连接到 node.js 应用程序,一切都很完美
现在,我想将 laravel 连接到 AWS Cognito,我按照article 中的说明进行操作
我收到以下错误
Error executing "AdminInitiateAuth" on "https://cognito-idp.eu-west-1.amazonaws.com"; AWS HTTP error: Client error: `POST https://cognito-idp.eu-west-1.amazonaws.com` resulted in a `400 Bad Request` response:
{"__type":"UnrecognizedClientException","message":"The security token included in the request is invalid."}
UnrecognizedClientException (client): The security token included in the request is invalid. - {"__type":"UnrecognizedClientException","message":"The security token included in the request is invalid."}
我确信凭据是正确的,但我得到了这个错误。 文章有没有遗漏的配置?
【问题讨论】:
标签: amazon-web-services aws-sdk amazon-cognito