Update Kratos config to match latest version of Kratos

This commit is contained in:
Jason Ertel
2020-04-24 16:27:07 -04:00
parent 19a3354aa2
commit e4afc20366

View File

@@ -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: