【问题标题】:Click the link confirmation auth amplify点击链接确认授权放大
【发布时间】:2021-05-03 23:57:30
【问题描述】:

如何通过 AWS Cognito 使用“单击确认链接”身份验证而不是确认代码身份验证?

确认用户电子邮件当前如下所示:

【问题讨论】:

    标签: amazon-web-services amazon-cognito aws-amplify


    【解决方案1】:

    您可以在 General Settings > Message Customizations > Do you want to customize your email verification messages? > Verification type 下的 Cognito 用户池设置中进行设置。选择Link

    或者如果你使用CDK,你可以在代码中设置。

    const userPool = new UserPool(this, "userPool", {
      userVerification: {
        emailStyle: VerificationEmailStyle.LINK,
      }
      ...
    

    【讨论】:

      猜你喜欢
      • 2013-07-31
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2018-12-25
      • 1970-01-01
      • 2022-10-13
      • 2012-11-17
      相关资源
      最近更新 更多