---
title: "Discussion on \"SMS OTP Authentication Using AWS Backend\" | Hashnode"
description: "Discussion on \"SMS OTP Authentication Using AWS Backend\". A Multifactor Authentication is an essential when developing a web applications. SMS based OTP is one of the most commonly used MFA techniques. Interested in adding one for your web app? Let's go ahead and make one here.\nIn this example, we will use ..."
url: "https://hashnode.com/posts/sms-otp-authentication-using-aws-backend/5fbde4fbdaba2d288c551dc7"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [SMS OTP Authentication Using AWS Backend](https://blog.thewiz.net/sms-otp-authentication-using-aws-backend?utm_source=hashnode&utm_medium=feed)

A Multifactor Authentication is an essential when developing a web applications. SMS based OTP is one of the most commonly used MFA techniques. Interested in adding one for your web app? Let's go ahead and make one here. In this example, we will use ...

Nov 25, 2020 · 12 min read · blog.thewiz.net  
Updated Feb 17, 2024  
Read the article

-   [#aws](https://hashnode.com/tag/aws)
-   [#aws-lambda](https://hashnode.com/tag/aws-lambda)
-   [#dynamodb](https://hashnode.com/tag/dynamodb)

## Written by

[Vikas Solegaonkar](https://hashnode.com/@solegaonkar)

@solegaonkar · Mumbai, India

  
[View profile](https://hashnode.com/@solegaonkar)

Vikas Solegaonkar

## Responses 2

Markdown supported · ⌘↵ to post

[deepak bajaj](https://hashnode.com/@alwindeep)

[Apr 17, 2021](https://hashnode.com/posts/sms-otp-authentication-using-aws-backend/5fbde4fbdaba2d288c551dc7/comment/607aaa85c99e200d08f7aa46)

This is not working, My lambda always give the below response

{ "statusCode": 200, "body": "{\\"response\\": \\"NO\\"}" }

Kindly help.

Not working with UI as well

[Vikas Solegaonkar](https://hashnode.com/@solegaonkar)

[Apr 19, 2021](https://hashnode.com/posts/sms-otp-authentication-using-aws-backend/5fbde4fbdaba2d288c551dc7/comment/607aaa85c99e200d08f7aa46#reply-607ce248eb2bd30d2d2282f3)

You can check your IAM role - if it has the required permissions. If it is good, you can try to remove the exception suppression in the lambda code. That will show you exact line where the error occurs - so that you can fix it.

[Yajat Gupta](https://hashnode.com/@yajat)

[Jun 17, 2021](https://hashnode.com/posts/sms-otp-authentication-using-aws-backend/5fbde4fbdaba2d288c551dc7/comment/607aaa85c99e200d08f7aa46#reply-60cb781f2f8ab52fde40ba47)

same issue with me. Were you able to fix it?

[Igor C. de Paula](https://hashnode.com/@borodin)

[Nov 25, 2020](https://hashnode.com/posts/sms-otp-authentication-using-aws-backend/5fbde4fbdaba2d288c551dc7/comment/5fbe4d12cd6215320a629973)

In my country, SMS is complex, some mobile application was attacked by hackers using sms and invading them.
