ory/hydra

cli: add access token strategy parameter

jagobagascon opened this issue · 1 comments

Preflight checklist

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

I don't know if the parameter is intentionally omitted, but since the change is fairly simple I simply added the PR: #3718