ory get oauth2-config
ory get oauth2-config
Get an Ory Cloud project's OAuth2 configuration
Synopsis
Get an Ory Cloud project's OAuth2 configuration. You can use this command to render Ory OAuth2 Configuration as well.
ory get oauth2-config <project-id> [flags]
Examples
$ ory get oauth2-config ecaaa3cb-0730-4ee8-a6df-9553cdfeef89 --format yaml > oauth2-config.yaml
$ ory get oauth2-config ecaaa3cb-0730-4ee8-a6df-9553cdfeef89 --format json
{
  "oauth2": {
    "client_credentials": {
      "default_grant_allowed_scope": false
    },
    "expose_internal_errors": true,
    "grant": {
      "jwt": {
        "iat_optional": false,
        "jti_optional": false,
        "max_ttl": "720h0m0s"
      }
    }
  },
  // ...
}
Options
      --format string   Set the output format. One of default, json, yaml, and json-pretty. (default "default")
  -h, --help            help for oauth2-config
Options inherited from parent commands
  -c, --config string   Path to the Ory Cloud configuration file.
  -q, --quiet           Be quiet with output printing.
  -y, --yes             Confirm all dialogs with yes.
SEE ALSO
- ory get - Get a resource