Closed inigohu closed 2 months ago
No response
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.
Add --id parameter to the create oauth2-client command
--id
create oauth2-client
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"}'
v2.x.x
Preflight checklist
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 thecreate oauth2-client
commandWorkarounds or alternatives
Create the client using the HTTP api:
Version
v2.x.x
Additional Context
No response