AWS SNS with Node js, TypeScript- OTP(One Time Passcode) authentication

Before going directly into integration , we need to understand AWS SNS first.

AWS SNS — How it works

Prerequisite tasks

AWS_ACCESS_KEY_ID

AWS_SECRET_ACCESS_KEY

AWS_SESSION_TOKEN

Step 1: Installation

$ npm install aws-sdk$ yarn install aws-sdk

Step 2: Integrating AWS-SNS in our App

Generating AWS Access Key ID and Secret Access Key

AWS_SECRET_ACCESS_KEY=YOUR SECRET ACCESS KEY

AWS_REGION=YOUR REGION

AWS_ACCESS_KEY_ID=YOUR ACCESS KEY

--

--

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store