Can I give users the option between sending Cognito Verification Code through email or SMS?
I have a React App with AWS Amplify using Cognito for Authentication, currently I send a Verification code through the user’s email but I want to give them the option to choose if they want to receive it through email or SMS and I haven’t been able to find any info about if this is even possible.
Can I give users the option between sending Cognito Verification Code through email or SMS?
I have a React App with AWS Amplify using Cognito for Authentication, currently I send a Verification code through the user’s email but I want to give them the option to choose if they want to receive it through email or SMS and I haven’t been able to find any info about if this is even possible.
Cross region authentication
I have an web application which is deployed in two aws regions. Each application is linked to its own cognito user pool.
Application A <-> User Pool A
Application B <-> User Pool B
This application has a React frontend that uses aws-amplify ( without hosted UI ) to take care of the authentication and all that.
How can I verify user logged in via AWS Amplify & Cognito in backend?
I am currently using AWS Amplify to host a React front-end. I have an AWS Cognito user pool and identity pool set up. Using withAuthenticator
from @aws-amplify/ui-react
, the front-end requires the user to log in. Once logged in, I can use fetchAuthSession
from aws-amplify/auth
to retrieve the access token and the identity token, which are both supposed to be JWTs.