Hacktoberfest 2026: những issue maintainer đã đánh dấu cho tháng Mười, đang mở và phù hợp người mới. Xem issue Hacktoberfest

[Feature Request] WAM should return error code in hexadecimal

Đang mở
#778 1 bình luận 1 reaction 1 người được giao Xem trên GitHub

@fengga đang làm issue này rồi.

Từ ngày 6/1/2025.

Đánh giá

Issue này chưa được đánh giá.

Mô tả

feature request public-client
MSAL client type

Public

Problem Statement

Currently, WAM returns error code in decimal, resulting in negative numbers, such as -2147023584, -2147221164. Their corresponding hexadecimal values are 0x80070520, 0x80040154.

Even https://aka.ms/errors recommends using hex:

🤔 Inverting error code: query was -2147221164 which is more commonly expressed as 0x80040154.

In a search engine, - usually means "not to include". Searching for -2147221164 gives no result:

https://www.google.com/search?q=-2147221164

image

Proposed solution

WAM should return error code in hexadecimal.

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

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. 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.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của AzureAD/microsoft-authentication-library-for-python

Tất cả issue của AzureAD/microsoft-authentication-library-for-python

Issue tương tự

Thêm issue về Python

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.