server: accept sign-in tokens from more than one OIDC issuer
Los mantenedores suelen responder en 1 día
Nadie ha tomado este issue todavía.
Evaluación
- Dificultad
- 5/5
- Tiempo estimado
- Más de una semana
- Aptitud para principiantes
- 25/100
- Tipo de issue
- Nueva funcionalidad
- Claridad
- Bastante claro
- Estado de actividad
- Activo
- Stack tecnológico
- javascript, openapi
Línea de trabajo
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.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
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.
- Lenguaje dominante
- JavaScript
- Estrellas
- 1
- Forks
- 1
- Merge medio
- 3 h 21 min
- PR fusionados (30 d)
- 250
Preparar el entorno
- Sin Dockerfile ni archivo de Docker Compose
- Tiene una plantilla de pull request
- Leer la guía de contribución
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Más de eizedev/pivotkit
-
accessibility area:react bug
Dificultad 2/5 1-3 horas Aptitud para principiantes 88/100
Los mantenedores suelen responder en 1 día
-
area:tests
Dificultad 2/5 1-3 horas Aptitud para principiantes 72/100
Los mantenedores suelen responder en 1 día
-
area:cli bug
Dificultad 2/5 1-3 horas Aptitud para principiantes 83/100
Los mantenedores suelen responder en 1 día
-
area:cli enhancement
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
Los mantenedores suelen responder en 1 día
-
area:react enhancement
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
Los mantenedores suelen responder en 1 día
Todos los issues de eizedev/pivotkit
Issues similares
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 65/100
embedpdf/embed-pdf-viewer#1116 ·
Los mantenedores suelen responder en 1 día
-
[Docs]: Clarify theme variables location and usage in CONTRIBUTING.mdPosiblemente ocupada @srishtimishra520-beep la tomó hoy. Abiertokind/docs
Dificultad 1/5 Menos de una hora Aptitud para principiantes 88/100
meshery/meshery.io#3220 · 1 comentario ·
Los mantenedores suelen responder en 1 día
-
Module: Analytics P2 Team S Type: Infrastructure
Dificultad 1/5 Menos de una hora Aptitud para principiantes 90/100
google/site-kit-wp#14190 ·
Los mantenedores suelen responder en 2 días
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 72/100
maathimself/mailflow#801 ·
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
falbany/ProFiles#187 · 1 comentario ·
Los mantenedores suelen responder en 1 día