bumpy-policeman-45538
11/23/2022, 8:32 AMrevoke_active_sessions
after settings flow
Configuration :
settings:
ui_url: <https://app.v1.dev.test.build/self-service/recovery>
privileged_session_max_age: 20m
required_aal: aal1
after:
default_browser_return_url: <https://app.v1.dev.test.build/login>
hooks:
- hook: revoke_active_sessions
While build i am getting below errors and i am not able to figure out that whats going wrong with the configuration
kratos-kratos-1 |
kratos-kratos-1 | The configuration contains values or keys which are invalid:
kratos-kratos-1 | selfservice.flows.settings.after.hooks: [map[hook:revoke_active_sessions]]
kratos-kratos-1 | ^-- doesn't validate with "#/definitions/selfServiceHooks"
kratos-kratos-1 |
kratos-kratos-1 | The configuration contains values or keys which are invalid:
kratos-kratos-1 | selfservice.flows.settings.after.hooks.0: map[hook:revoke_active_sessions]
kratos-kratos-1 | ^-- anyOf failed
kratos-kratos-1 |
kratos-kratos-1 | The configuration contains values or keys which are invalid:
kratos-kratos-1 | selfservice.flows.settings.after.hooks.0: map[hook:revoke_active_sessions]
kratos-kratos-1 | ^-- doesn't validate with "#/definitions/selfServiceWebHook"
kratos-kratos-1 |
kratos-kratos-1 | The configuration contains values or keys which are invalid:
kratos-kratos-1 | selfservice.flows.settings.after.hooks.0: map[hook:revoke_active_sessions]
kratos-kratos-1 | ^-- validation failed
kratos-kratos-1 |
kratos-kratos-1 | The configuration contains values or keys which are invalid:
kratos-kratos-1 | selfservice.flows.settings.after.hooks.0.config: <nil>
kratos-kratos-1 | ^-- one or more required properties are missing
kratos-kratos-1 |
kratos-kratos-1 | The configuration contains values or keys which are invalid:
kratos-kratos-1 | selfservice.flows.settings.after.hooks.0.hook: revoke_active_sessions
kratos-kratos-1 | ^-- value must be "web_hook"
Thank you 🙂steep-lamp-91158
bumpy-policeman-45538
11/23/2022, 10:16 AMory_kratos_session
exist in cookie user get logged-in directly 👀steep-lamp-91158
bumpy-policeman-45538
11/23/2022, 12:00 PMprivileged_session_max_age
to 1m but still after 1m i am getting the user identity with same session 🤔steep-lamp-91158
i am getting the user identity with same sessionwhat do you mean by that? after 1m the session is not considered privileged anymore, but it is still a valid session
bumpy-policeman-45538
11/23/2022, 1:11 PMsteep-lamp-91158
privileged_session_max_age
to 0steep-lamp-91158
bumpy-policeman-45538
11/24/2022, 5:05 AM