Skip to content

Commit 41f7bf3

Browse files
authored
Update README for WorkOS example: change WORKOS_REDIRECT_URI to point… (#7802)
Update README for WorkOS example: change WORKOS_REDIRECT_URI to point to /api/auth/callback
1 parent a3e24c3 commit 41f7bf3

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎examples/react/start-workos/README.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ You will need a [WorkOS account](https://dashboard.workos.com/signup).
3030
WORKOS_CLIENT_ID=<YOUR_CLIENT_ID>
3131
WORKOS_API_KEY=<YOUR_API_SECRET_KEY>
3232
WORKOS_COOKIE_PASSWORD=<YOUR_COOKIE_PASSWORD>
33-
WORKOS_REDIRECT_URI=http://localhost:3000/callback
33+
WORKOS_REDIRECT_URI=http://localhost:3000/api/auth/callback
3434
```
3535
`WORKOS_COOKIE_PASSWORD` is the private key used to encrypt the session cookie. It has to be at least 32 characters long. You can use the [1Password generator](https://1password.com/password-generator/) or the `openssl` library to generate a strong password via the command line:
3636
```bash

0 commit comments

Comments
 (0)