Skip to content

Commit

Permalink
autogen: render config schema
Browse files Browse the repository at this point in the history
  • Loading branch information
ory-bot authored and aeneasr committed Jan 8, 2025
1 parent 8e5fae4 commit 3e8ebbb
Showing 1 changed file with 24 additions and 9 deletions.
33 changes: 24 additions & 9 deletions .schema/config.schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -1068,6 +1068,21 @@
"type": "object",
"additionalProperties": false,
"properties": {
"refresh_token": {
"type": "object",
"properties": {
"rotation_grace_period": {
"title": "Refresh Token Rotation Grace Period",
"description": "Configures how long a Refresh Token remains valid after it has been used. The maximum value is 5 minutes.",
"default": "0s",
"allOf": [
{
"$ref": "#/definitions/duration"
}
]
}
}
},
"jwt": {
"type": "object",
"additionalProperties": false,
Expand Down Expand Up @@ -1100,30 +1115,30 @@
"description": "Sets the refresh token hook endpoint. If set it will be called during token refresh to receive updated token claims.",
"examples": ["https://my-example.app/token-refresh-hook"],
"oneOf": [
{
"$ref": "#/definitions/webhook_config"
},
{
"type": "string",
"format": "uri"
},
{
"$ref": "#/definitions/webhook_config"
}
]
},
"token_hook": {
"description": "Sets the token hook endpoint for all grant types. If set it will be called while providing token to customize claims.",
"examples": ["https://my-example.app/token-hook"],
"oneOf": [
{
"$ref": "#/definitions/webhook_config"
},
{
"type": "string",
"format": "uri"
},
{
"$ref": "#/definitions/webhook_config"
}
]
}
}
},
}
},
"secrets": {
"type": "object",
"additionalProperties": false,
Expand Down Expand Up @@ -1168,7 +1183,7 @@
"examples": ["cpu"]
},
"tracing": {
"$ref": "https://raw.githubusercontent.com/ory/x/v0.0.612/otelx/config.schema.json"
"$ref": "https://raw.githubusercontent.com/ory/x/v0.0.675/otelx/config.schema.json"
},
"sqa": {
"type": "object",
Expand Down

0 comments on commit 3e8ebbb

Please sign in to comment.