Skip to content

Inconsistent "revoke_active_sessions" hook docs #2651

Description

@fenech

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething is not working.

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions