ory / network

Ory runs a global end-to-end security infrastructure for humans, robots, and servers. We build and use open source software.
Apache License 2.0
80 stars 6 forks source link

OAuth client configuration overrides #370

Closed rdelgatte closed 8 months ago

rdelgatte commented 8 months ago

Preflight checklist

Ory Network Project

https://console.ory.sh/projects/2442da72-e704-42cc-a8a6-c633faa2096e

Describe the bug

I noticed that when updating an oauth-client from the console, it overrides some parameters I've been setting through the CLI/HTTP API (e.g. post_logout_redirect_uris which is not configurable in the UI btw). Is this intended (I guess it should not)?

Reproducing the bug

  1. Configure an oauth-client with the CLI or HTTP API and add a post_logout_redirect_uris
  2. In the console, update the oauth-client name and save
  3. Fetch the current configuration with the CLI: ory get oauth2-client $OAUTH_CLIENT_ID --project $PROJECT_SLUG --format json-pretty => post_logout_redirect_uris is empty/not defined

This may apply to other parameters as well (those that are not configurable through the UI I guess).

Relevant log output

No response

Relevant configuration

No response

Version

https://console.ory.sh + Ory CLI 0.3.1

On which operating system are you observing this issue?

Ory Network

In which environment are you deploying?

Ory Network

Additional Context

No response

rdelgatte commented 8 months ago

Here is the issue about not having this post_logout_redirect_uris editable from the console (both may be related): https://github.com/ory/network/issues/313

rdelgatte commented 8 months ago

I tried again this morning and looks like the bug is no more (OR I somehow misread the result). I'll close the issue but still the fact having post_logout_redirect_uris editable from the console would be great.