cli
cli copied to clipboard
Hydra: Setting oauth client redirect URI deletes client name and vice versa
Preflight checklist
- [X] I could not find a solution in the existing issues, docs, nor discussions.
- [X] I agree to follow this project's Code of Conduct.
- [X] I have read and am following this repository's Contribution Guidelines.
- [X] This issue affects my Ory Network project.
- [X] I have joined the Ory Community Slack.
- [ ] I am signed up to the Ory Security Patch Newsletter.
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