Accept a user identity forwarded by a credentialed server
Maintainer thường phản hồi trong vòng 1 ngày
Chưa có ai nhận issue này.
Đánh giá
Issue này chưa được đánh giá.
Mô tả
PolicyEngine's web servers will call the Public API with their own server credential in Authorization (#4236). When such a server acts for a person, the signed-in user routes (/v2/me*, /v2/user-*) need to know who that person is, but Authorization is already taken by the server's token.
Done when:
- a credentialed server can forward a signed-in user's Auth0 token in
PolicyEngine-User-Authorization: Bearer <token>, or a signed-out browser'sPolicyEngine-Unauthenticated-Userheader; - the user routes treat that user exactly as they treat a direct request with the same credential today, including
POST /v2/me/upgrade; - until enforcement, a user's token sent directly in
Authorizationkeeps working, andPolicyEngine-User-Authorizationis ignored on any request without a server credential.
- Ngôn ngữ chính
- Python
- Star
- 18
- Fork
- 33
- Merge trung bình
- 2 ngày 14 giờ
- Pull request đã merge (30 ngày)
- 116
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 PolicyEngine/policyengine-api
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 76/100
PolicyEngine/policyengine-api#4037 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 1/5 1-3 giờ Mức phù hợp với người mới 88/100
PolicyEngine/policyengine-api#3911 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 82/100
PolicyEngine/policyengine-api#3910 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Update PolicyEngine bundle to 6.17.0Có thể đã có người làm @policyengine đã nhận hôm nay. Đang mở
PolicyEngine/policyengine-api#4252 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
PolicyEngine/policyengine-api#4240 ·
Maintainer thường phản hồi trong vòng 1 ngày
Tất cả issue của PolicyEngine/policyengine-api
Issue tương tự
-
bug drawing-tools
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 76/100
cofade/open-garden-planner#827 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 1/5 1-3 giờ Mức phù hợp với người mới 76/100
Maintainer thường phản hồi trong vòng 1 ngày
-
bug documentation good first issue help wanted testing
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 84/100
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 1/5 1-3 giờ Mức phù hợp với người mới 88/100
hololinked-dev/hololinked#213 ·
-
Show evidence time and supersede warnings in the memory inspectorCó thể đã có người làm @Sinchanak-212 đã nhận hôm nay. Đang mởarea: ux good first issue priority: medium
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 84/100