question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

VerifyContact "Neither Email nor Phone Number selected" with Email selected

See original GitHub issue

Describe the bug When using aws cli or aws console to create a user in cognito, the verify contact process in amplify is buggy. “Email” is showing as the selected item in the select. The “Verify” button is disabled. The work around is to select “Phone Number” then select “Email” again.

To Reproduce Steps to reproduce the behavior:

  1. Create sample React Native application using CRNA wrapped in Expo and Amplify
  2. Create user with AWS cli (see below for command)
  3. Run expo start (I presume this also fails regardless how you’re emulating the application)
  4. Log in with username/temp pwd from cli command
  5. You should see the Verify Contact screen with “Email” as the selected input
  6. See that the Verify contact button is disabled.

Expected behavior Verify should not be disabled b/c Email is the selected item. I would like to import my users with cli and provide them temp password so that they can log in and verify their account.

Desktop (please complete the following information):

  • OS: Windows 10
  • Browser N/A (this occurs on React Native)
  • Version 28

Smartphone (please complete the following information):

  • Device: Moto G5
  • OS: Android 8

Additional context In VerifyContact.js, I prevented the verify button from being disabled. Pressing verify shows that “Neither Email nor Phone Number selected” error message (even though “Email” is shown).

package.json

Sample code cli command used to create users: aws cognito-idp admin-create-user --user-pool-id us-west-abcdefg --username User1 --temporary-password 1111 --user-attributes=Name=email,Value=email@emal.com,Name=phone_number,Value="+15555555555"

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:6

github_iconTop GitHub Comments

2reactions
stale[bot]commented, Jun 22, 2019

This issue has been automatically closed because of inactivity. Please open a new issue if are still encountering problems.

1reaction
dmongitcommented, Jun 24, 2019

This is still a bug, automatically closed by a bot or not.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Manage your email addresses - Google Account Help
Under "Contact info," select Email and then Google Account email. If you can't open this setting, it might not be possible to change...
Read more >
E-Verify User Manual For Corporate Administrators
This manual provides guidance on E-Verify processes and outlines the rules and responsibilities for corporate administrators enrolled in E-Verify.
Read more >
User ID - Bank of America – Login
Sign in and access your BofA Private Bank account. Login and get access to all the account features and benefits online. Get all...
Read more >
Configuring email or phone verification - Amazon Cognito
You can choose settings for email or phone verification under the MFA and ... either the user's email or the user's phone number...
Read more >
HIPAA Privacy, Security, and Breach Notification Audit Program
Alert: Phishing Email Disguised as Official OCR Audit Communication ... An entity that does not respond to OCR may still be selected for...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found