如何在 Cognito 用户池中确认用户而不使用 React Native 验证电子邮件?

时间:2021-03-31 14:01:34

标签: react-native aws-amplify

我尝试在未验证电子邮件的情况下注册?

const user = await Auth.signUp({
      username: state.email,
      password: state.password,
      attributes: {
        name: state.firstName,
        family_name: state.lastName,
      },
    });

我尝试在属性中设置 email_verified: true 但出现错误?是否有针对此问题的快速解决方案?

0 个答案:

没有答案