Skip to content

Commit 6631c21

Browse files
ory-botaeneasr
authored andcommitted
autogen: render config schema
1 parent 01ff9da commit 6631c21

File tree

1 file changed

+45
-1
lines changed

1 file changed

+45
-1
lines changed

.schema/config.schema.json

Lines changed: 45 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -477,6 +477,16 @@
477477
"description": "Disallow all outgoing HTTP calls to private IP ranges. This feature can help protect against SSRF attacks.",
478478
"type": "boolean",
479479
"default": false
480+
},
481+
"private_ip_exception_urls": {
482+
"title": "Add exempt URLs to private IP ranges",
483+
"description": "Allows the given URLs to be called despite them being in the private IP range. URLs need to have an exact and case-sensitive match to be excempt.",
484+
"type": "array",
485+
"items": {
486+
"type": "string",
487+
"format": "uri-reference"
488+
},
489+
"default": []
480490
}
481491
}
482492
}
@@ -760,6 +770,34 @@
760770
"https://my-example.app/logout-successful",
761771
"/ui"
762772
]
773+
},
774+
"identity_provider": {
775+
"type": "object",
776+
"additionalProperties": false,
777+
"properties": {
778+
"url": {
779+
"title": "The admin URL of the ORY Kratos instance.",
780+
"description": "If set, ORY Hydra will use this URL to log out the user in addition to removing the Hydra session.",
781+
"type": "string",
782+
"format": "uri",
783+
"examples": [
784+
"https://kratos.example.com/admin"
785+
]
786+
},
787+
"headers": {
788+
"title": "HTTP Request Headers",
789+
"description": "These headers will be passed in HTTP requests to the Identity Provider.",
790+
"type": "object",
791+
"additionalProperties": {
792+
"type": "string"
793+
},
794+
"examples": [
795+
{
796+
"Authorization": "Bearer some-token"
797+
}
798+
]
799+
}
800+
}
763801
}
764802
}
765803
},
@@ -889,6 +927,12 @@
889927
},
890928
"examples": [["username", "email", "user_uuid"]]
891929
},
930+
"mirror_top_level_claims": {
931+
"type": "boolean",
932+
"description": "Set to false if you don't want to mirror custom claims under 'ext'",
933+
"default": true,
934+
"examples": [false]
935+
},
892936
"hashers": {
893937
"type": "object",
894938
"additionalProperties": false,
@@ -1052,7 +1096,7 @@
10521096
"examples": ["cpu"]
10531097
},
10541098
"tracing": {
1055-
"$ref": "https://raw.githubusercontent.com/ory/x/v0.0.562/otelx/config.schema.json"
1099+
"$ref": "https://raw.githubusercontent.com/ory/x/v0.0.582-0.20230816082414-f1e6acad79b5/otelx/config.schema.json"
10561100
},
10571101
"sqa": {
10581102
"type": "object",

0 commit comments

Comments
 (0)