server: accept sign-in tokens from more than one OIDC issuer
Maintainer thường phản hồi trong vòng 1 ngày
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 5/5
- Thời gian dự kiến
- Hơn một tuần
- Mức phù hợp với người mới
- 25/100
- Loại issue
- Tính năng
- Độ rõ ràng
- Khá rõ ràng
- Mức độ hoạt động
- Sôi nổi
- Công nghệ
- javascript, openapi
- Lĩnh vực
- authentication, backend-api-design
Hướng nghiên cứu
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.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
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.
- Ngôn ngữ chính
- JavaScript
- Star
- 1
- Fork
- 1
- Merge trung bình
- 3 giờ 21 phút
- Pull request đã merge (30 ngày)
- 250
Chuẩn bị môi trường
- Không có Dockerfile hay tệp Docker Compose
- Có mẫu pull request
- Đọc hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của eizedev/pivotkit
-
accessibility area:react bug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 88/100
Maintainer thường phản hồi trong vòng 1 ngày
-
area:tests
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
Maintainer thường phản hồi trong vòng 1 ngày
-
area:cli bug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 83/100
Maintainer thường phản hồi trong vòng 1 ngày
-
area:cli enhancement
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
Maintainer thường phản hồi trong vòng 1 ngày
-
area:react enhancement
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
Maintainer thường phản hồi trong vòng 1 ngày
Tất cả issue của eizedev/pivotkit
Issue tương tự
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 65/100
embedpdf/embed-pdf-viewer#1116 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
[Docs]: Clarify theme variables location and usage in CONTRIBUTING.mdCó thể đã có người làm @srishtimishra520-beep đã nhận hôm nay. Đang mởkind/docs
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 88/100
meshery/meshery.io#3220 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Module: Analytics P2 Team S Type: Infrastructure
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 90/100
google/site-kit-wp#14190 ·
Maintainer thường phản hồi trong vòng 2 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
maathimself/mailflow#801 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
falbany/ProFiles#187 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày