-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathconfig.yaml
117 lines (116 loc) · 2.81 KB
/
config.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
log:
level: info
format: json
show_sensitive_values: true
serve:
public:
port: 4444
host: localhost
cors:
enabled: true
allowed_origins:
- https://example.com
- https://*.example.com
allowed_methods:
- POST
- GET
- PUT
- PATCH
- DELETE
allowed_headers:
- Authorize
- Content-Type
exposed_headers:
- Content-Type
allow_credentials: true
max_age: 10
debug: true
access_log:
disable_for_health: false
admin:
port: 4445
host: localhost
cors:
enabled: true
allowed_origins:
- https://example.com
- https://*.example.com
allowed_methods:
- POST
- GET
- PUT
- PATCH
- DELETE
allowed_headers:
- Authorize
- Content-Type
exposed_headers:
- Content-Type
allow_credentials: true
max_age: 10
debug: true
access_log:
disable_for_health: false
tls:
key:
base64: hello
cert:
base64: hello
allow_termination_from:
- 127.0.0.1/32
cookies:
same_site_mode: Lax
same_site_legacy_workaround: false
dsn: memory
webfinger:
jwks:
broadcast_keys:
- haya.openid.id-token
oidc_discovery:
client_registration_url: https://example.com/clients
supported_claims:
- email
- username
supported_scopes:
- email
oidc:
subject_identifiers:
supported_types:
- pairwise
- public
pairwise:
salt: example
dynamic_client_registration:
default_scope:
- openid
- offline
- offline_access
urls:
self:
issuer: https://localhost:4444
public: https://localhost:4444
login: https://localhost:3000/login
consent: https://localhost:3000/consent
logout: https://localhost:3000/logout
error: https://localhost:3000/error
post_logout_redirect: https://localhost:3000/
ttl:
login_consent_request: 1h
access_token: 1h
refresh_token: 720h
id_token: 1h
auth_code: 10m
oauth2:
expose_internal_errors: true
include_legacy_error_fields: true
hashers:
bcrypt:
cost: 20
pkce:
enforced: true
enforced_for_public_clients: true
secrets:
system:
- some-random-system-secret
cookie:
- some-random-cookie-secret