[Bug] Misleading/Incompolete domain Bug
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 4/5
- Thời gian dự kiến
- 3-5 ngày
- Mức phù hợp với người mới
- 48/100
- Loại issue
- Lỗi
- Độ rõ ràng
- Khá rõ ràng
- Mức độ hoạt động
- Sôi nổi
- Công nghệ
- azure, python
- Lĩnh vực
- authentication
Hướng nghiên cứu
Start by tracing the device authorization response's verification_uri into the flow["message"] output; the issue says MSAL prints the server-provided URL as-is. Check the relevant device-flow code and tests to determine whether MSAL can safely handle the reported URL. Done means the device login guidance uses a working URL and the behavior is covered by a test.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
Misleading/Incompolete domain Bug
A typo returned by the login server while logging into azure using az cli. The CLI instructed me to use use-device-code to avoid getting login failure I was having, and the URL it provided was not not working. I had to guess to get the right domain to use in my browser: login.mircosoftonline.com rather worked
To Reproduce
Steps to reproduce the behavior:
log into Azure CLi using:
az login --use-device-code
# Output looked like this:
To sign in, use a web browser to open the page https://login.microsoft.com/device and enter the code ....
Expected behavior
I expected the URL provided by the CLI to work flawlessly and quick, which couldn't happen
What you see instead
The MSAL Python version
python -c "import msal; print(msal.__version__)"
% az version
{
"azure-cli": "2.90.0",
"azure-cli-core": "2.90.0",
"azure-cli-telemetry": "1.1.0",
"extensions": {}
}
Additional context
After thorough huntinh, I found out that the device code message URL (https://login.microsoft.com/device) is not generated by Azure cli or msal python. It's returned directly by the Microsoft server as the verification_uri field in the device authorization response json. Both Azure CLI and msal just print it as-is (flow["message"])
- 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
-
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 39 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 45 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
-
[Bug] Interactive auth callback hangs forever when an idle connection reaches AuthCodeReceiver firstCó thể đã có người làm @Thanatos9404 đã nhận 4 ngày trước. Đang mởbug public-client
Độ khó 4/5 1-2 ngày Mức phù hợp với người mới 48/100
AzureAD/microsoft-authentication-library-for-python#950 · 2 bình luận · 3 reaction ·
Tất cả issue của AzureAD/microsoft-authentication-library-for-python
Issue tương tự
-
bug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 79/100
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
mohitmishra786/readprism#322 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
good first issue
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 76/100
-
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 75/100
Maintainer thường phản hồi trong vòng 1 ngày
-
API-key credentials accept a blank key: empty via the API, spaces-only via the builder's Add API key dialogCó thể đã có người làm Có pull request liên kết đang mở hoặc đã được merge. Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 77/100
Significant-Gravitas/AutoGPT#15727 ·
Maintainer thường phản hồi trong vòng 1 ngày