【问题标题】:Use verification link instead of verification code AWS Amplify使用验证链接而不是验证码 AWS Amplify
【发布时间】:2021-05-25 15:39:14
【问题描述】:

我需要通过电子邮件验证来验证用户,方法是单击 firebase 默认模板等验证链接,而不是在注册时输入验证码。

这是我的代码

export const signUp = async (username, password, details) => {
  try {
    const {user} = await Auth.signUp({
      username,
      password,
      attributes: {
        ...details,
      },
    });
    console.log(user);
  } catch (error) {
    console.log('error signing up:', error);
  }
};

我也无法在管理面板中找到此设置。

提前致谢。 ????

【问题讨论】:

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


    【解决方案1】:

    您可以进入您的认知池设置。

    在消息自定义下->验证类型

    选择链接而不是代码。

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2021-03-17
      • 2020-05-19
      • 2020-09-08
      • 2020-05-29
      • 2022-12-14
      相关资源
      最近更新 更多