feat: custom claims

Offen
#417 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
4/5
Geschätzter Aufwand
3-5 Tage
Anfängerfreundlichkeit
30/100
Issue-Typ
Feature
Klarheit
Größtenteils klar
Aktivitätsstatus
Aktiv
Tech-Stack
typescript

Rechercherichtung

The issue names no files or tests. Start by finding where access tokens are built in the TypeScript codebase and where the pre-token hook is invoked, then check how per-client and per-role configuration is loaded. Done means custom claims show up in issued tokens, and attempts to overwrite reserved claims are rejected or ignored, as the issue requires. Confirm the reserved-claim list and the hook's contract with a maintainer before writing code.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Beschreibung

easy P2 v0.23

Why

Apps need their own claims in tokens without forking.

What

  • Static claims per client or role, and dynamic claims from the pre-token hook
  • Reserved claims cannot be overwritten

Done when

Custom claims appear in tokens and reserved claims are protected.

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.