server: accept sign-in tokens from more than one OIDC issuer
I maintainer di solito rispondono entro 1 giorno
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 5/5
- Tempo stimato
- Più di una settimana
- Idoneità per principianti
- 25/100
- Tipo di issue
- Funzionalità
- Chiarezza
- Abbastanza chiara
- Stato di attività
- Attiva
- Stack tecnologico
- javascript, openapi
- Ambito
- authentication, backend-api-design
Direzione di ricerca
Start with packages/pivotkit-server/src/options/http.js and read the existing auth.issuer and tokenUrl handling. First verify whether the identity provider supports RFC 8693 exchange with a subject token from another provider and whether PowerShell Universal passes the user's access token to a script; the issue says exchange routing depends on those findings. Done means supporting issuer-specific audiences, scopes and keys, routing exchanges to the issuing issuer, restricting which issuers each source may exchange, and preserving auth.issuer compatibility.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
pivotkit-server accepts sign-in tokens from one OIDC issuer (auth.issuer). Authentik gives each provider an issuer of its own by default. So a server that should accept tokens from two Authentik providers needs one of these today:
- Authentik reconfigured to "issuer mode: global", with both providers signing with the same key;
- or every client on one provider.
A typical case: PowerShell Universal passes on its user's token from its own provider, and Claude Code signs in through a second, public client.
Proposal: auth.issuers, a list of issuers.
- Each issuer has its own audience, required scopes and key set (
jwksUrior discovery). - A token exchange (
sources.<id>.http.auth.tokenExchange) goes to the token endpoint of the issuer that issued the subject token, not always toauth.issuer's. TodaytokenUrldefaults toauth.issuer's token endpoint (packages/pivotkit-server/src/options/http.js). - A source names the issuers whose tokens it may exchange. A token from another issuer is never passed on to that backend.
- The docs recommend a pivotkit scope of its own per issuer (
requiredScopes). If the audience is another application's client ID, every token issued to that application would otherwise be valid at pivotkit. auth.issuerkeeps working as the one-issuer form.
Before building it, check:
- whether the identity provider accepts a token exchange (RFC 8693) with a subject token from another provider;
- whether PowerShell Universal hands the signed-in user's access token to a script.
The design of the exchange routing depends on what that check shows.
Related: #441, a download sign-in with an issuer of its own.
- Lingua principale
- JavaScript
- Stelle
- 1
- Fork
- 1
- Merge medio
- 3h 21m
- PR unite (30g)
- 250
Preparare l'ambiente
- Nessun Dockerfile né file Docker Compose
- Ha un modello di pull request
- Leggi la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di eizedev/pivotkit
-
accessibility area:react bug
Difficoltà 2/5 1-3 ore Idoneità per principianti 88/100
I maintainer di solito rispondono entro 1 giorno
-
area:tests
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
I maintainer di solito rispondono entro 1 giorno
-
area:cli bug
Difficoltà 2/5 1-3 ore Idoneità per principianti 83/100
I maintainer di solito rispondono entro 1 giorno
-
area:cli enhancement
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
I maintainer di solito rispondono entro 1 giorno
-
area:react enhancement
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
I maintainer di solito rispondono entro 1 giorno
Tutte le issue di eizedev/pivotkit
Issue simili
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 65/100
embedpdf/embed-pdf-viewer#1116 ·
I maintainer di solito rispondono entro 1 giorno
-
[Docs]: Clarify theme variables location and usage in CONTRIBUTING.mdForse già presa @srishtimishra520-beep l’ha presa oggi. Apertakind/docs
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 88/100
meshery/meshery.io#3220 · 1 commento ·
I maintainer di solito rispondono entro 1 giorno
-
Module: Analytics P2 Team S Type: Infrastructure
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 90/100
google/site-kit-wp#14190 ·
I maintainer di solito rispondono entro 2 giorni
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
maathimself/mailflow#801 ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
falbany/ProFiles#187 · 1 commento ·
I maintainer di solito rispondono entro 1 giorno