Skip to content

cli: add access token strategy parameter #3717

@jagobagascon

Description

@jagobagascon

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    featNew feature or request.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions