I'm trying to do on-page passwordless authentication with only phone number, and I want to implement auto sign-in after sign-up automatically, any ideas?
I have enabled mfa for both login and signup, but amplify not signing the user after signup!
I'm trying to do on-page passwordless authentication with only phone number, and I want to implement auto sign-in after sign-up automatically, any ideas?
I have enabled mfa for both login and signup, but amplify not signing the user after signup!
you are working with AWS Amplify and trying to implement on-page passwordless authentication with phone numbers in an Android Studio project, and you want users to be automatically signed in after signing up, even with MFA enabled. The automatic sign-in after sign-up might not be the default behavior, so you'll need to handle this logic in your code.
When a user signs up with their phone number, use the Amplify Auth category to initiate the sign-up process.
After sign-up, Amplify will send a confirmation code to the user's phone. Once the user enters the confirmation code, you can use Amplify.Auth.confirmSignUp to confirm the user.
Hopefully, it will help!!!