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 access token strategy parameter #3717

Closed
3 of 5 tasks
jagobagascon opened this issue Feb 14, 2024 · 1 comment
Closed
3 of 5 tasks

cli: add access token strategy parameter #3717

jagobagascon opened this issue Feb 14, 2024 · 1 comment
Labels
feat New feature or request.

Comments

@jagobagascon
Copy link
Contributor

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

@jagobagascon jagobagascon added the feat New feature or request. label Feb 14, 2024
jagobagascon added a commit to jagobagascon/hydra that referenced this issue Feb 14, 2024
@jagobagascon
Copy link
Contributor Author

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

jagobagascon added a commit to jagobagascon/hydra that referenced this issue Feb 14, 2024
jagobagascon added a commit to jagobagascon/hydra that referenced this issue Mar 5, 2024
@aeneasr aeneasr closed this as completed in 7862dc3 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