cli icon indicating copy to clipboard operation
cli copied to clipboard

Hydra: Setting oauth client redirect URI deletes client name and vice versa

Open titustangible opened this issue 3 years ago • 0 comments

Preflight checklist

Describe the bug

When updating the redirect URI(s) of an OAuth2 client using Ory CLI in the Ory Network, its client name (and possibly other values as well) get emptied.

The exact same thing happens when updating the client name without mentioning the redirect URI. I don't recall reading this in the docs; whether documented or not, this feels like a bug

Reproducing the bug

Commands tested:

 ory --project $project_id update oauth2-client $oauth2_client_id --name="Tangible Passport"

OAuth2 client now no longer has Redirect URIs.

 ory --project $project_id update oauth2-client $oauth2_client_id --redirect-uri="http://test-local.test,https://test.us.reclaim.cloud"

OAuth2 client now no longer has a Client Name.

Results verified both in shell and Ory Network / Ory Cloud. Tested with Powershell and Mingw

Relevant log output

No response

Relevant configuration

No response

Version

v0.1.47

On which operating system are you observing this issue?

Windows

In which environment are you deploying?

Ory Network

Additional Context

No response

titustangible avatar Nov 10 '22 12:11 titustangible