I use AWS SES to send one-time passwords via email. I am implementing the same via SMS with AWS SNS.
I am attempting to send a text message when a user requests to reset their password. I would like to wait for the message to be sent to alert the user if it was successful or not. I am currently attempting to do it as follows:
I’m looking for examples of using node.js with Amazon SNS and Apple APN push notifications. We use Amazon for our hosting, and I have used SNS before, it’s pretty simple. But the examples they have for push notifications are for java, and there is no examples for Node. It’s confusing, as usual with them, and I’m hoping to cut my research and time spent short. It can’t be that hard. I’m also wondering how they deal with errors, and the differences between the sandbox and production. Apple reacts differently between the two environments, not failing in the sandbox as they do in production.
I’m in the process of rebuilding a PHP app in Node.js on top of the Express framework.
We have a service within a Backend class, the service looks like:
I am using CloudWatch log subscription filters stream to Lambda and publish a message to an SNS topic. But it will output garbled message and can’t success decode.