ory / network

Ory runs a global end-to-end security infrastructure for humans, robots, and servers. We build and use open source software.
Apache License 2.0
81 stars 6 forks source link

Is there any way to configure OAuth client's `access_token_strategy` with the CLI? #371

Open rdelgatte opened 10 months ago

rdelgatte commented 10 months ago

Preflight checklist

Ory Network Project

https://console.ory.sh/projects/2442da72-e704-42cc-a8a6-c633faa2096e

Describe the bug

I'd like to use the CLI to configure the OAuth2 client to get a proper access_token_strategy and this looks like it is only editable through the console UI. I looked into the documentation and CLI --help output but could not find the right parameter. Is there any way to do that or should I do otherwise?

Reproducing the bug

  1. Create an OAuth2 client with the console and configure the access_token_strategy to use JWT
  2. Print out the oauth client configuration (with the cli): ory get oauth2-client $OAUTH_CLIENT_ID --project $PROJECT_ID --format json-pretty | c
  3. It does not show up this configuration and it does not appear as well as an editable option from the CLI documentation: ory update oauth2-client --help

Relevant log output

No response

Relevant configuration

No response

Version

Ory CLI 0.3.1

On which operating system are you observing this issue?

Ory Network

In which environment are you deploying?

Ory Network

Additional Context

No response