aws-amplify / docs

AWS Amplify Framework Documentation
https://docs.amplify.aws
Apache License 2.0
487 stars 1.06k forks source link

Update docs for SMS and requesting an origination number, has moved from Pinpoint/SMS over to AWS End User Messaging #8083

Open chrisl777 opened 6 days ago

chrisl777 commented 6 days ago

Describe the content issue:

The content below is now outdated due to phone number and SMS management moving over to AWS End User Messaging.

In addition, the instructions here are quite terse. It is difficult to understand the exact steps needed to enable SMS for auth flows with Amplify.

In order to send SMS authentication codes, you must [request an origination number](https://docs.aws.amazon.com/pinpoint/latest/userguide/settings-request-number.html). Authentication codes will be sent from the origination number. If your AWS account is in the SMS sandbox, you must also add a destination phone number, which can be done by going to the [Amazon Pinpoint Console](https://console.aws.amazon.com/pinpoint/), selecting SMS and voice in the navigation pane, and selecting Add phone number in the Destination phone numbers tab. To check if your AWS account is in the SMS sandbox, go to the [SNS console](https://console.aws.amazon.com/sns/), select the Text messaging (SMS) tab from the navigation pane, and check the status under the Account information section.

URL page where content issue is:

Live link: https://docs.amplify.aws/react/build-a-backend/auth/moving-to-production/#sms

Repo link: https://github.com/aws-amplify/docs/blob/305b960c52f944aaa13a5b14d270831f59840059/src/pages/%5Bplatform%5D/build-a-backend/auth/moving-to-production/index.mdx#L94

josefaidt commented 5 days ago

Hey @chrisl777 :wave: thanks for raising this! We'll get that link updated and add some color to the setup docs.