Skip to content
This repository was archived by the owner on Sep 10, 2024. It is now read-only.

Commit a980bc7

Browse files
committed
Update config schema
Because enabled the serde_json feature which preserves the order in dicts, keys moved around in the generated schema.
1 parent 2931508 commit a980bc7

File tree

1 file changed

+47
-47
lines changed

1 file changed

+47
-47
lines changed

docs/config.schema.json

Lines changed: 47 additions & 47 deletions
Original file line numberDiff line numberDiff line change
@@ -11,11 +11,11 @@
1111
"branding": {
1212
"description": "Configuration section for tweaking the branding of the service",
1313
"default": {
14-
"imprint": null,
15-
"logo_uri": null,
16-
"policy_uri": null,
1714
"service_name": null,
18-
"tos_uri": null
15+
"policy_uri": null,
16+
"tos_uri": null,
17+
"imprint": null,
18+
"logo_uri": null
1919
},
2020
"allOf": [
2121
{
@@ -34,12 +34,12 @@
3434
"database": {
3535
"description": "Database connection configuration",
3636
"default": {
37-
"connect_timeout": 30,
38-
"idle_timeout": 600,
37+
"uri": "postgresql://",
3938
"max_connections": 10,
40-
"max_lifetime": 1800,
4139
"min_connections": 0,
42-
"uri": "postgresql://"
40+
"connect_timeout": 30,
41+
"idle_timeout": 600,
42+
"max_lifetime": 1800
4343
},
4444
"allOf": [
4545
{
@@ -75,16 +75,9 @@
7575
"http": {
7676
"description": "Configuration of the HTTP server",
7777
"default": {
78-
"issuer": "http://[::]:8080/",
7978
"listeners": [
8079
{
81-
"binds": [
82-
{
83-
"address": "[::]:8080"
84-
}
85-
],
8680
"name": "web",
87-
"proxy_protocol": false,
8881
"resources": [
8982
{
9083
"name": "discovery"
@@ -106,33 +99,40 @@
10699
"name": "assets",
107100
"path": "./frontend/dist/"
108101
}
109-
]
110-
},
111-
{
102+
],
112103
"binds": [
113104
{
114-
"host": "localhost",
115-
"port": 8081
105+
"address": "[::]:8080"
116106
}
117107
],
108+
"proxy_protocol": false
109+
},
110+
{
118111
"name": "internal",
119-
"proxy_protocol": false,
120112
"resources": [
121113
{
122114
"name": "health"
123115
}
124-
]
116+
],
117+
"binds": [
118+
{
119+
"host": "localhost",
120+
"port": 8081
121+
}
122+
],
123+
"proxy_protocol": false
125124
}
126125
],
127-
"public_base": "http://[::]:8080/",
128126
"trusted_proxies": [
129127
"192.128.0.0/16",
130128
"172.16.0.0/12",
131129
"10.0.0.0/10",
132130
"127.0.0.1/8",
133131
"fd00::/8",
134132
"::1/128"
135-
]
133+
],
134+
"public_base": "http://[::]:8080/",
135+
"issuer": "http://[::]:8080/"
136136
},
137137
"allOf": [
138138
{
@@ -154,8 +154,8 @@
154154
"enabled": true,
155155
"schemes": [
156156
{
157-
"algorithm": "argon2id",
158-
"version": 1
157+
"version": 1,
158+
"algorithm": "argon2id"
159159
}
160160
]
161161
},
@@ -168,13 +168,13 @@
168168
"policy": {
169169
"description": "Configuration related to the OPA policies",
170170
"default": {
171-
"authorization_grant_entrypoint": "authorization_grant/violation",
171+
"wasm_module": "./policies/policy.wasm",
172172
"client_registration_entrypoint": "client_registration/violation",
173-
"data": null,
174-
"email_entrypoint": "email/violation",
175-
"password_entrypoint": "password/violation",
176173
"register_entrypoint": "register/violation",
177-
"wasm_module": "./policies/policy.wasm"
174+
"authorization_grant_entrypoint": "authorization_grant/violation",
175+
"password_entrypoint": "password/violation",
176+
"email_entrypoint": "email/violation",
177+
"data": null
178178
},
179179
"allOf": [
180180
{
@@ -193,15 +193,15 @@
193193
"telemetry": {
194194
"description": "Configuration related to sending monitoring data",
195195
"default": {
196+
"tracing": {
197+
"exporter": "none",
198+
"propagators": []
199+
},
196200
"metrics": {
197201
"exporter": "none"
198202
},
199203
"sentry": {
200204
"dsn": null
201-
},
202-
"tracing": {
203-
"exporter": "none",
204-
"propagators": []
205205
}
206206
},
207207
"allOf": [
@@ -213,8 +213,8 @@
213213
"templates": {
214214
"description": "Configuration related to templates",
215215
"default": {
216-
"assets_manifest": "./frontend/dist/manifest.json",
217216
"path": "./templates/",
217+
"assets_manifest": "./frontend/dist/manifest.json",
218218
"translations_path": "./translations/"
219219
},
220220
"allOf": [
@@ -363,8 +363,8 @@
363363
"description": "Import the email address of the user based on the `email` and `email_verified` claims",
364364
"default": {
365365
"action": "ignore",
366-
"set_email_verification": "import",
367-
"template": null
366+
"template": null,
367+
"set_email_verification": "import"
368368
},
369369
"allOf": [
370370
{
@@ -1535,8 +1535,8 @@
15351535
"schemes": {
15361536
"default": [
15371537
{
1538-
"algorithm": "argon2id",
1539-
"version": 1
1538+
"version": 1,
1539+
"algorithm": "argon2id"
15401540
}
15411541
],
15421542
"type": "array",
@@ -1769,21 +1769,21 @@
17691769
"claims_imports": {
17701770
"description": "How claims should be imported from the `id_token` provided by the provider",
17711771
"default": {
1772-
"displayname": {
1773-
"action": "ignore",
1772+
"subject": {
17741773
"template": null
17751774
},
1776-
"email": {
1775+
"localpart": {
17771776
"action": "ignore",
1778-
"set_email_verification": "import",
17791777
"template": null
17801778
},
1781-
"localpart": {
1779+
"displayname": {
17821780
"action": "ignore",
17831781
"template": null
17841782
},
1785-
"subject": {
1786-
"template": null
1783+
"email": {
1784+
"action": "ignore",
1785+
"template": null,
1786+
"set_email_verification": "import"
17871787
}
17881788
},
17891789
"allOf": [

0 commit comments

Comments
 (0)