Is it possible to elliminate Username field on sign-up screen?
In the Attributes tab I have only one required field - email. And I do not know why but this menu is blocked - and I can not alter sign-in attributes from Username to Email address or phone number:
The only way to do this is select the 'Email address or phone number' option. These preferences can be modified only at the time of User Pool creation.
Related
I want to autofill a TextInput with the user's current Email from the Android/iOS system. However, at that point the user is not yet authenticated, because that's actually part of the registration (where users can also use a different Email).
How do I get this email?
I checked the permissions page but there is none of them about the user credentials like email.
I also checked expo Contacts but it seems to be related only to the contact lists and not about the current system user.
Is this even possible with RN+expo?
I'm creating a simple app in which I'm saving a session of a current user using a token. Once the user login and close the app next time user will go to the home page. But If the user logs out. Next time will go to the login page and now if the user enters the initial characters of the name. I want to automatically get his/her name and password and fill in the form like in browser and web apps
Any help?
If need more description. let me know in the comment section.
I'm using testRigor and our system sends text messages. How do I test that a text message has been received?
It is possible by using Twilio. You can go to https://www.twilio.com/ to create a Twilio account and get your first phone number from them. It is even possible with their free version.
Once done, you can go to Twilio dashboard and get Account SID, Auth Token, and Phone Number. You then can go to testRigor and specify those 3 parameters in Settings/Integration under Twilio section.
Once this is done you can use that phone number you got from Twilio on your system and then you'll be able to use the following testRigor code (assuming your phone number you got from Twilio is +12345678902):
check that sms to "+12345678902" is delivered
For example, a 2-factor authentication login test can look like this:
click "Sign in"
enter "jacob" into "Username"
enter "jacobs-secure-password" into "Password"
click "Verify me"
check that sms to "+12345678902" is delivered and matches regex "Code\:\d\d\d\d" and save it as "sms"
extract value by regex "(?<=Code\:)[0-9]{4}" from "sms" and save it as "confirmationCode"
enter saved value "confirmationCode" into "code"
click "Continue to Login"
check that page contains text "Welcome, Jacob!"
Whenever the user register on my Shopify website i want that account to be disabled until admin enable it from back-end panel. Currently when user is registered, his account is enabled by default.
Have searched various forums even tried Shopify support but still no luck.
There are two options. why you are not putting "request membership" sign up form instead of sign in form (disable from here)? You could use the contact page for that if you wanted. Then you get an email when they fill that out. You would create the account (just copy and paste the info) and email them an invitation. They click the link in the invite to make the password. (I think it will be a tedious task for you)
Otherwise, let them create the account, but hide the pages with the Locksmith app. Then after you approve them you would apply a "tag" to the customer account so they can see the pages and products locked with Locksmith.
I'm currently building the login/registration part of an application (similar to WhatsApp login).
The flow is as follows:
Screen #1: User enters phone number for authentication
Screen #2: the user will need to enter a 4 digit number (which was sent via SMS) to verify the phone number
Screen #3: In the case where the user is a new user, s/he will enter the full name. If the user is a returning user, screen #3 will not show up (jump to screen #4).
Screen #4: User is taken to the home screen of the app.
My question here is: will the access token and the refresh token be returned in screen #2 from phone verification API OR in screen #3 from entering the full name API?
I also want to know what the return value of phone verification and entering full name APIs.