Microsoft Recommendations on best practices for validating JWT.
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 2/5
- Thời gian dự kiến
- 1-3 giờ
- Mức phù hợp với người mới
- 25/100
- Loại issue
- Tài liệu
- Độ rõ ràng
- Cần làm rõ
- Mức độ hoạt động
- Đình trệ
- Lĩnh vực
- authentication
Hướng nghiên cứu
The issue describes validating JWTs for a FastAPI app on Azure App Service using the AAD client credentials flow, but does not name project files or tests. Start by checking the MSAL Python documentation for token validation guidance and whether this library is responsible for validating API access tokens. Done means providing a documented recommendation that answers whether custom JWT verification is needed and points to the appropriate guidance.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
What am I trying to do?
- I have a FAST-API webapp hosted on azure app service. I am trying to secure its endpoints via oAuth2.
- I am using AAD Client Credentials flow.
So far I have been able to get tokens, verify and decode it using the steps mentioned here and secure my endpoints.
However it feels that a lot of code that I have written as part of JWT verification is basically re inventing the wheel.
- Is this the recommended approach/best practice ?
- Does everyone have to write the code to verify JWT tokens and essentially re invent the wheel ?
- Ngôn ngữ chính
- Python
- Star
- 971
- Fork
- 223
- Merge trung bình
- 13 giờ 48 phút
- Pull request đã merge (30 ngày)
- 2
Chuẩn bị môi trường
- Không có Dockerfile hay tệp Docker Compose
- Không 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 AzureAD/microsoft-authentication-library-for-python
-
needs attention untriaged
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 48/100
AzureAD/microsoft-authentication-library-for-python#973 · 2 bình luận ·
-
AzureSDK bug P1
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 48/100
-
http_client docstring does not say that timeout, verify and proxies only configure the default sessionCó thể đã có người làm @HardMax71 đã nhận 41 ngày trước. Đang mở
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 25/100
-
[Bug] The built-in retry never retries the token POST: HTTPAdapter(max_retries=1) keeps urllib3's default allowed_methodsCó thể đã có người làm @HardMax71 đã nhận 47 ngày trước. Đang mởbug untriaged
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 35/100
AzureAD/microsoft-authentication-library-for-python#957 · 3 bình luận ·
-
public-client untriaged
Độ khó 5/5 Hơn một tuần Mức phù hợp với người mới 25/100
Tất cả issue của AzureAD/microsoft-authentication-library-for-python
Issue tương tự
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 66/100
-
[Bug]: Queen's own Ollama model loses num_ctx when a running session switches to itCó thể đã có người làm @anasamin26 đã nhận hôm nay. Đang mởbug enhancement
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
aden-hive/hive#7508 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
llm translation
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
BerriAI/litellm#47884 · 1 bình luận ·
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
Maintainer thường phản hồi trong vòng 1 ngày
-
bug 🐛
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
netalertx/NetAlertX#1856 · 1 reaction ·
Maintainer thường phản hồi trong vòng 1 ngày