Skip to content

Commit

Permalink
docs fix cognito example (#236)
Browse files Browse the repository at this point in the history
  • Loading branch information
pilcrowonpaper authored Dec 24, 2024
1 parent bad7685 commit 54dc310
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/pages/providers/amazon-cognito.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ The user pool should not include trailing slashes.
```ts
import { AmazonCognito } from "arctic";

const userPool = "https://cognito-idp.{region}.amazonaws.com/{pool-id}";
const userPool = "https://{pool-domain}.auth.{region}.amazoncognito.com";
const cognito = new AmazonCognito(userPool, clientId, clientSecret, redirectURI);
```

Expand Down

0 comments on commit 54dc310

Please sign in to comment.