cli: add access token strategy parameter
jagobagascon opened this issue · 1 comments
jagobagascon 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
I need to create a client that receives JWT access tokens but the CLI does not include that parameter.
Describe your ideal solution
I would like to create a client that receives JWT access tokens using Hydra's CLI.
Workarounds or alternatives
Create the client and use the HTTP api to set the access token strategy:
curl -X PATCH http://localhost:4445/admin/clients/0a57f898-e431-43c7-87ce-3bbae7cb4285 \
-H 'Content-Type: application/json' \
-d '[{"op": "replace", "path": "/access_token_strategy", "value": "jwt"}]'
Version
2.1.1
Additional Context
No response
jagobagascon commented
I don't know if the parameter is intentionally omitted, but since the change is fairly simple I simply added the PR: #3718