【问题标题】:AWS Elastic bean stalk : Error matching signatureAWS Elastic beanstalk:匹配签名时出错
【发布时间】:2016-04-07 19:15:01
【问题描述】:

我创建了 AWS 账户,使用 Amazon CloudFormation 部署了 amazon-cognito-developer-authentication-sample

我能够通过 URL 注册新用户:由 Cloud Formation 输出提供的 url/jsp/register.jsp。

然后我下载了CognitoSyncDemo 并按照所有说明进行操作。

以下是样本中指示的首字母

用户名:注册用户(@cloud_formation_output_url/jsp/register.jsp)
应用程序名称:awscognitodeveloperauthenticationsample
端点:http://find-deve-1#########-*********.elasticbeanstalk.com/
developerProvider : login.findit

但我得到了
响应代码:401
响应正文:错误匹配签名

签名由用户名 + 应用名 + 端点组成

我猜问题出在 appname 上,因为我已经对端点进行了两次交叉检查。

谁能指导我使用什么appname,因为有三个服务,每个都有一个名字
1. Cognito有:身份池名称
2. 云形成有:栈名
3. Elastic BeanStalk:应用名称

我对应用名称感到困惑。现在我正在使用示例本身提供的默认应用程序名称。不确定要使用什么名称?

【问题讨论】:

    标签: amazon-web-services amazon-elastic-beanstalk amazon-cloudformation amazon-cognito


    【解决方案1】:

    After spending hours found that endpoint to mention is not the endpoint from elastic beanstalk as mentioned in sample for android, but I have to mention Application URL which is there under outputs tab in cloud formation console when stack created by me is selected.

    【讨论】:

      猜你喜欢
      • 2020-08-29
      • 2021-02-01
      • 2020-12-04
      • 2020-02-19
      • 2017-01-22
      • 2021-11-26
      • 2017-02-28
      • 2020-08-27
      • 2017-05-21
      相关资源
      最近更新 更多