high-activity-49887
11/09/2022, 2:15 PMwonderful-lamp-2357
11/09/2022, 2:47 PMwonderful-lamp-2357
11/09/2022, 2:49 PM1. Download the Ory OAuth2 & OpenID Connect configuration of your project and save it to a `yaml` file:
```shell
## List all available projects
ory list projects
## Get config
ory get oauth2-config <project-id> --format yaml > config.yaml
2. Adjust the configuration in oauth2/urls/consent
and `oauth2/urls/login`:
yaml title="config.yaml"
oauth2:
# ...
urls:
# highlight-next-line
consent: <http://localhost:3000/consent>
error: /oauth2/fallbacks/error
# highlight-next-line
login: <http://localhost:3000/login>
post_logout_redirect: /oauth2/fallbacks/logout
3. Update the project configuration using the file you worked with:
shell
ory update oauth2-config <project-id> --file config.yaml
```
wonderful-lamp-2357
11/09/2022, 2:50 PMwonderful-lamp-2357
11/09/2022, 2:51 PMhigh-activity-49887
11/09/2022, 6:06 PM