diff --git a/.schema/config.schema.json b/.schema/config.schema.json index 804e6b6024f..147af8db671 100644 --- a/.schema/config.schema.json +++ b/.schema/config.schema.json @@ -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, @@ -1100,12 +1115,12 @@ "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" } ] }, @@ -1113,17 +1128,17 @@ "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, @@ -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",