Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

cli: add --id parameter to the create oauth2-client command #3724

Closed
4 of 5 tasks
inigohu opened this issue Feb 28, 2024 · 0 comments
Closed
4 of 5 tasks

cli: add --id parameter to the create oauth2-client command #3724

inigohu opened this issue Feb 28, 2024 · 0 comments
Labels
feat New feature or request.

Comments

@inigohu
Copy link
Contributor

inigohu commented Feb 28, 2024

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 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

@inigohu inigohu added the feat New feature or request. label Feb 28, 2024
inigohu added a commit to inigohu/hydra that referenced this issue Feb 28, 2024
inigohu added a commit to inigohu/hydra that referenced this issue Feb 29, 2024
inigohu added a commit to inigohu/hydra that referenced this issue Mar 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feat New feature or request.
Projects
None yet
Development

No branches or pull requests

1 participant