Hacktoberfest 2026: le issue che i maintainer hanno segnato per ottobre, aperte e adatte ai principianti. Sfoglia le issue Hacktoberfest

Inconsistent "revoke_active_sessions" hook docs

Aperta Adatta ai principianti
#2,651 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
1/5
Tempo stimato
Meno di un'ora
Idoneità per principianti
78/100
Tipo di issue
Documentazione
Chiarezza
Specificata chiaramente
Stato di attività
Tranquilla
Ambito
documentation

Direzione di ricerca

Inizia dalla tabella Available Actions nella documentazione di configure-hooks e confronta la relativa voce revoke_active_sessions con la pagina revoke-sessions-hook. Aggiorna la tabella per documentare il supporto per il login flow e l'after settings flow usando la password method, quindi verifica i link e il testo visualizzato.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

bug
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

Lingua principale
TypeScript
Stelle
161
Fork
1.9k
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Preparare l'ambiente

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di ory/docs

Tutte le issue di ory/docs

Issue simili

Altre issue su TypeScript

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.