mirror of
https://github.com/Security-Onion-Solutions/securityonion.git
synced 2025-12-07 01:32:47 +01:00
Update Kratos config to match latest version of Kratos
This commit is contained in:
@@ -6,6 +6,13 @@ selfservice:
|
|||||||
password:
|
password:
|
||||||
enabled: true
|
enabled: true
|
||||||
|
|
||||||
|
settings:
|
||||||
|
privileged_session_max_age: 1m
|
||||||
|
after:
|
||||||
|
profile:
|
||||||
|
hooks:
|
||||||
|
- hook: verify
|
||||||
|
|
||||||
verify:
|
verify:
|
||||||
return_to: https://{{ WEBACCESS }}/
|
return_to: https://{{ WEBACCESS }}/
|
||||||
|
|
||||||
@@ -14,29 +21,14 @@ selfservice:
|
|||||||
|
|
||||||
login:
|
login:
|
||||||
request_lifespan: 10m
|
request_lifespan: 10m
|
||||||
after:
|
|
||||||
password:
|
|
||||||
-
|
|
||||||
job: session
|
|
||||||
-
|
|
||||||
job: redirect
|
|
||||||
config:
|
|
||||||
default_redirect_url: https://{{ WEBACCESS }}/
|
|
||||||
allow_user_defined_redirect: true
|
|
||||||
|
|
||||||
registration:
|
registration:
|
||||||
request_lifespan: 10m
|
request_lifespan: 10m
|
||||||
after:
|
after:
|
||||||
password:
|
password:
|
||||||
-
|
hooks:
|
||||||
job: verify
|
- hook: session
|
||||||
-
|
- hook: verify
|
||||||
job: session
|
|
||||||
-
|
|
||||||
job: redirect
|
|
||||||
config:
|
|
||||||
default_redirect_url: https://{{ WEBACCESS }}/
|
|
||||||
allow_user_defined_redirect: true
|
|
||||||
|
|
||||||
log:
|
log:
|
||||||
level: debug
|
level: debug
|
||||||
@@ -58,7 +50,7 @@ urls:
|
|||||||
public: https://{{ WEBACCESS }}/auth/
|
public: https://{{ WEBACCESS }}/auth/
|
||||||
admin: https://{{ WEBACCESS }}/kratos/
|
admin: https://{{ WEBACCESS }}/kratos/
|
||||||
default_return_to: https://{{ WEBACCESS }}/
|
default_return_to: https://{{ WEBACCESS }}/
|
||||||
whitelisted_return_to_domains:
|
whitelisted_return_to_urls:
|
||||||
- http://127.0.0.1
|
- http://127.0.0.1
|
||||||
|
|
||||||
hashers:
|
hashers:
|
||||||
|
|||||||
Reference in New Issue
Block a user