ory get oauth2-config
ory get oauth2-config
Get Ory OAuth2 & OpenID Connect configuration.
Synopsis
Get the Ory OAuth2 & OpenID Connect configuration for the specified Ory Network project.
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, json-pretty and jsonpath. (default "default")
-h, --help help for oauth2-config
Options inherited from parent commands
-c, --config string Path to the Ory Network configuration file.
-q, --quiet Be quiet with output printing.
-y, --yes Confirm all dialogs with yes.
SEE ALSO
- ory get - Get a resource