cli: add `--id` parameter to the `create oauth2-client` command
inigohu opened this issue · 0 comments
inigohu commented
Preflight checklist
- I could not find a solution in the existing issues, docs, nor discussions.
- I agree to follow this project's Code of Conduct.
- I have read and am following this repository's Contribution Guidelines.
- I have joined the Ory Community Slack.
- I am signed up to the Ory Security Patch Newsletter.
Ory Network Project
No response
Describe your problem
In previous versions of Hydra v1, there was the possibility to create a client with an ID using the CLI. Now, that parameter has disappeared.
However, the API does allow to create the client with an ID as parameter.
Describe your ideal solution
Add --id
parameter to the create oauth2-client
command
Workarounds or alternatives
Create the client using the HTTP api:
curl http://localhost:4445/admin/clients -H 'Content-Type:application/json' -d '{"client_id": "myclient", "client_secret": "mysecret", "grant-types": "client_credentials"}'
Version
v2.x.x
Additional Context
No response