Preflight checklist
Ory Network Project
No response
Describe the bug
The docs related to the "revoke_active_sessions" hook are inconsistent: there is one page which shows how to use this hook after a user changes their password:
https://www.ory.com/docs/kratos/session-management/revoke-sessions-hook
But on the https://www.ory.com/docs/kratos/hooks/configure-hooks#available-actions page, in the table it says that only the login flow is supported.
I propose a change to the table:
| revoke_active_sessions | Revokes all other active sessions of the user on successful login. | For use with either the login flow or the after settings flow, password method (as shown here).
Reproducing the bug
visit https://www.ory.com/docs/kratos/hooks/configure-hooks#available-actions
Relevant log output
Relevant configuration
Version
26.2
On which operating system are you observing this issue?
None
In which environment are you deploying?
None
Additional Context
There is a restriction preventing me from opening a PR. The proposed change is already on https://github.com/nbycomp/docs
Preflight checklist
Ory Network Project
No response
Describe the bug
The docs related to the "revoke_active_sessions" hook are inconsistent: there is one page which shows how to use this hook after a user changes their password:
https://www.ory.com/docs/kratos/session-management/revoke-sessions-hook
But on the https://www.ory.com/docs/kratos/hooks/configure-hooks#available-actions page, in the table it says that only the login flow is supported.
I propose a change to the table:
|
revoke_active_sessions| Revokes all other active sessions of the user on successful login. | For use with either the login flow or theaftersettings flow,passwordmethod (as shown here).Reproducing the bug
visit https://www.ory.com/docs/kratos/hooks/configure-hooks#available-actions
Relevant log output
Relevant configuration
Version
26.2
On which operating system are you observing this issue?
None
In which environment are you deploying?
None
Additional Context
There is a restriction preventing me from opening a PR. The proposed change is already on https://github.com/nbycomp/docs