@nauth-toolkit/sms-aws-sns
v0.2.6
Published
AWS SNS SMS provider for nauth-toolkit
Maintainers
Readme
@nauth-toolkit/sms-aws-sns
AWS SNS SMS provider for nauth-toolkit.
Sends SMS verification codes and MFA one-time passwords through Amazon SNS. Plug in your AWS credentials and nauth-toolkit handles message formatting and delivery.
Part of nauth-toolkit. Requires
@nauth-toolkit/core.
Install
npm install @nauth-toolkit/sms-aws-snsConfigure in your auth config:
import { AWSSNSProvider } from '@nauth-toolkit/sms-aws-sns';
const authConfig = {
smsProvider: new AWSSNSProvider({
region: process.env.AWS_REGION,
accessKeyId: process.env.AWS_ACCESS_KEY_ID,
secretAccessKey: process.env.AWS_SECRET_ACCESS_KEY,
}),
};Also available
| Package | Purpose |
| --- | --- |
| @nauth-toolkit/sms-console | Log SMS to console — development use |
See the full package list in the core README.
Free to use. See license.
