84 lines
1.5 KiB
YAML
84 lines
1.5 KiB
YAML
version: v0.5.4-alpha.1
|
|
|
|
dsn: memory
|
|
|
|
serve:
|
|
public:
|
|
base_url: http://127.0.0.1/secure/
|
|
cors:
|
|
enabled: true
|
|
admin:
|
|
base_url: http://127.0.0.1/admin/
|
|
|
|
selfservice:
|
|
default_browser_return_url: http://127.0.0.1/
|
|
whitelisted_return_urls:
|
|
- http://127.0.0.1/
|
|
|
|
methods:
|
|
password:
|
|
enabled: true
|
|
|
|
flows:
|
|
error:
|
|
ui_url: http://127.0.0.1/secure/error
|
|
|
|
settings:
|
|
ui_url: http://127.0.0.1/secure/settings
|
|
privileged_session_max_age: 15m
|
|
|
|
recovery:
|
|
enabled: true
|
|
ui_url: http://127.0.0.1/secure/recovery
|
|
|
|
verification:
|
|
enabled: true
|
|
ui_url: http://127.0.0.1/secure/verify
|
|
after:
|
|
default_browser_return_url: http://127.0.0.1/
|
|
|
|
logout:
|
|
after:
|
|
default_browser_return_url: http://127.0.0.1/secure/auth/login
|
|
|
|
login:
|
|
ui_url: http://127.0.0.1/secure/auth/login
|
|
lifespan: 10m
|
|
|
|
registration:
|
|
lifespan: 10m
|
|
ui_url: http://127.0.0.1/secure/auth/registration
|
|
after:
|
|
password:
|
|
hooks:
|
|
- hook: session
|
|
|
|
log:
|
|
level: debug
|
|
format: text
|
|
leak_sensitive_values: true
|
|
|
|
secrets:
|
|
cookie:
|
|
- PLEASE-CHANGE-ME-I-AM-VERY-INSECURE
|
|
|
|
session:
|
|
cookie:
|
|
domain: siasky.xyz
|
|
path: /secure
|
|
|
|
hashers:
|
|
argon2:
|
|
parallelism: 1
|
|
memory: 131072
|
|
iterations: 2
|
|
salt_length: 16
|
|
key_length: 16
|
|
|
|
identity:
|
|
default_schema_url: file:///etc/config/kratos/identity.schema.json
|
|
|
|
courier:
|
|
smtp:
|
|
connection_uri: smtps://test:test@mailslurper:1025/?skip_ssl_verify=true
|