-
Notifications
You must be signed in to change notification settings - Fork 1.6k
cli: add --id parameter to the create oauth2-client command #3724
Copy link
Copy link
Closed
Labels
featNew feature or request.New feature or request.
Description
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
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
featNew feature or request.New feature or request.