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] deprecate `data` out of `kwargs` and make SSHCertificate functionality public.

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

Chưa có ai nhận issue này.

Đánh giá

Độ khó
3/5
Thời gian dự kiến
1-2 ngày
Mức phù hợp với người mới
35/100
Loại issue
Tính năng
Độ rõ ràng
Đặc tả rõ ràng
Mức độ hoạt động
Đình trệ
Công nghệ
python
Lĩnh vực
api, backend

Hướng nghiên cứu

The issue points to get_token() in the Azure CLI and to msal/application.py at the two linked locations. Read those call sites and check how data is currently passed through kwargs; then identify the related API tests. Done means data is a documented keyword argument and callers can pass only supported arguments to MSAL without forwarding unrelated kwargs.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

ado feature request requires more info
MSAL client type

Public, Confidential

Problem Statement

data has been used for a long time for getting SSH certificates, but it is still not publicly documented and is part of kwargs:

https://github.com/AzureAD/microsoft-authentication-library-for-python/blob/bb6d8723e59af7019a420f944d955cab9abb9cae/msal/application.py#L2106

https://github.com/AzureAD/microsoft-authentication-library-for-python/blob/bb6d8723e59af7019a420f944d955cab9abb9cae/msal/application.py#L1560

Azure CLI currently passes kwargs received by get_token() directly to MSAL. Since SDK is adding more keyword arguments, such as enable_cae (https://github.com/Azure/azure-sdk-for-python/pull/37358), this will cause failure as enable_cae is not recognized by MSAL.

Azure CLI is considering making data an official keyword argument of get_token() so that only known arguments (scopes, claims_challenge, data) are passed to MSAL and kwargs received by get_token() is no longer directly passed to MSAL.

Proposed solution

Move data out of kwargs and make it a public keyword argument.

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.