-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathvalues.kratos.yaml
172 lines (166 loc) · 4.81 KB
/
values.kratos.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
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
kratos:
automigration:
enabled: true
development: true
secret:
enabled: true
ingress:
admin:
enabled: false
public:
enabled: false
config:
version: v1.0.0
dsn: postgres://kratos:kratos@kratos-db-postgresql:5432/kratos
log:
format: json
leak_sensitive_values: true
serve:
public:
base_url: http://hub.127.0.0.1.nip.io:9080/id
cors:
enabled: true
admin:
base_url: http://kratos-admin:80
request_log:
disable_for_health: true
secrets:
default:
- dolore occaecat nostrud Ut
- sit et commodoaute ut voluptate consectetur Duis
identity:
default_schema_id: default
schemas:
- id: default
url: file:///etc/config/identity.default.schema.json
courier:
smtp:
connection_uri: smtp://mailhog:1025?skip_ssl_verify=true&disable_starttls=true
from_address: [email protected]
from_name: Holaplex Hub - Identity
session:
lifespan: 720h
cookie:
domain: hub.127.0.0.1.nip.io
name: hub_session
selfservice:
allowed_return_urls:
- http://hub.127.0.0.1.nip.io:9080
- /organizations
- /projects
- /login
methods:
link:
config:
lifespan: 15m
base_url: http://hub.127.0.0.1.nip.io:9080/id
enabled: true
password:
enabled: true
totp:
enabled: true
config:
issuer: Holaplex Local
lookup_secret:
enabled: true
code:
enabled: true
config:
lifespan: 15m
default_browser_return_url: http://hub.127.0.0.1.nip.io:9080/organizations
flows:
registration:
lifespan: 10m
ui_url: http://hub.127.0.0.1.nip.io:9080/registration
after:
password:
hooks:
- hook: session
oidc:
hooks:
- hook: session
error:
ui_url: http://hub.127.0.0.1.nip.io:9080/error
settings:
required_aal: highest_available
ui_url: http://hub.127.0.0.1.nip.io:9080/profile/edit
privileged_session_max_age: 15m
recovery:
enabled: true
ui_url: http://hub.127.0.0.1.nip.io:9080/recovery
lifespan: 15m
use: code
notify_unknown_recipients: false
after:
hooks:
- hook: revoke_active_sessions
default_browser_return_url: http://hub.127.0.0.1.nip.io:9080/recovery/reset
verification:
enabled: false
ui_url: http://hub.127.0.0.1.nip.io:9080/verification
use: code
after:
default_browser_return_url: http://hub.127.0.0.1.nip.io:9080/login
logout:
after:
default_browser_return_url: http://hub.127.0.0.1.nip.io:9080/login
login:
ui_url: http://hub.127.0.0.1.nip.io:9080/login
lifespan: 10m
identitySchemas:
'identity.default.schema.json': |-
{
"$id": "https://schemas.ory.sh/presets/kratos/quickstart/email-password/identity.schema.json",
"$schema": "http://json-schema.org/draft-07/schema#",
"title": "Person",
"type": "object",
"properties": {
"traits": {
"type": "object",
"properties": {
"email": {
"type": "string",
"format": "email",
"title": "E-Mail",
"minLength": 3,
"ory.sh/kratos": {
"credentials": {
"password": {
"identifier": true
},
"totp": {
"account_name": true
}
},
"verification": {
"via": "email"
},
"recovery": {
"via": "email"
}
}
},
"name": {
"type": "object",
"properties": {
"first": {
"title": "First Name",
"type": "string"
},
"last": {
"title": "Last Name",
"type": "string"
}
}
},
"profile_image": {
"title": "Profile Image URL",
"type": "string",
"format": "uri"
}
},
"required": ["email"],
"additionalProperties": true
}
}
}