Skip to content
This repository was archived by the owner on Aug 7, 2025. It is now read-only.

Commit a81aedb

Browse files
authored
fix password and URL in Cognito OAuth flow docs (#302)
1 parent 6303ff2 commit a81aedb

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

content/en/aws/cognito/index.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ $ client_id=$(awslocal cognito-idp create-user-pool-client --user-pool-id $pool_
8080

8181
With these steps already taken, we can now sign up a user:
8282
{{< command >}}
83-
$ awslocal cognito-idp sign-up --client-id $client_id --username example_user --password 12345678 --user-attributes Name=email,Value=<your.email@address.com>
83+
$ awslocal cognito-idp sign-up --client-id $client_id --username example_user --password 12345678Aa! --user-attributes Name=email,Value=<your.email@address.com>
8484
{{< /command >}}
8585

8686
The response should look similar to this:
@@ -174,7 +174,7 @@ More details on Cognito Lambda triggers can be found in the [AWS documentation](
174174

175175
You can also access the local [Cognito login form](https://docs.aws.amazon.com/cognito/latest/developerguide/login-endpoint.html) by entering the following URL in your browser:
176176
```
177-
http://localhost:4566/login?response_type=code&client_id=<client_id>&redirect_uri=<redirect_uri>
177+
https://localhost.localstack.cloud/login?response_type=code&client_id=<client_id>&redirect_uri=<redirect_uri>
178178
```
179179
Please replace `<client_id>` with the ID of an existing user pool client ID (in this case, `example_user`), and `<redirect_uri>` with the redirect URI of your application (e.g., `http://example.com`).
180180

0 commit comments

Comments
 (0)