Vingtoft
Vingtoft

Reputation: 14616

Use AWS cognitos multi factor authentication in custom functions

Im developing a serverless application using the following technologies:

Question: Is it possbile to use cognito MFA (multi factor authentication) in my own frontend functions?

Use case: If an authenticated user request to delete a file from their S3 bucket, a SMS is send to the user's mobile phone, and the user will input the security code into the frontend. If the security code is valid the file(s) are deleted.

Upvotes: 1

Views: 250

Answers (1)

user108828
user108828

Reputation: 1949

I think that the MFA is only for log in... However, you can generate a code that you send by SMS with AWS SNS. http://docs.aws.amazon.com/sns/latest/dg/SMSMessages.html

Upvotes: 1

Related Questions