feat: pre-token and post-login hooks as HTTP callouts

Offen
#419 0 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen

Maintainer antworten meist innerhalb von 1 Tag

Dieses Issue hat noch niemand übernommen.

Bewertung

Schwierigkeit
5/5
Geschätzter Aufwand
Über eine Woche
Anfängerfreundlichkeit
18/100
Issue-Typ
Feature
Klarheit
Größtenteils klar
Aktivitätsstatus
Aktiv
Tech-Stack
typescript

Rechercherichtung

The payload names no files or entry points, so start by locating the token issuance and login flow in the TypeScript codebase. Decide the hook contract first: request and response shape, how a claim is added, how a denial carries a reason, timeout behavior, and the fail-open or fail-closed setting. Done means a configured endpoint can add a claim or block a sign-in, with failures audited. Expect a design discussion before implementation.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Beschreibung

easy P2 v0.23

Why

The Auth0 Actions equivalent, without running user code inside the auth server.

What

  • Call a configured HTTPS endpoint before token issue and after login
  • Can add claims or deny with a reason
  • Timeouts and a fail-open or fail-closed setting, audited

Done when

A hook can add a claim or block a sign-in, safely.

Vorherrschende Sprache
TypeScript
Sterne
2
Forks
2
Ø Merge
11 Std. 40 Min.
Gemergte PRs (30 T.)
104

Entwicklungsumgebung

Erste Schritte

  1. Lesen Sie das ganze Issue und danach den Beitragsleitfaden des Projekts.
  2. Schreiben Sie ins Issue, dass Sie es übernehmen — das erspart doppelte Arbeit.
  3. Forken Sie das Repository und arbeiten Sie in einem Branch.
  4. Öffnen Sie einen Pull Request, der die Issue-Nummer nennt.

Mehr aus fells-code/seamless-auth-api

Alle Issues in fells-code/seamless-auth-api

Ähnliche Issues

Weitere Issues zu TypeScript

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.