Hacktoberfest 2026:維護者為十月標記出來的 issue,仍然開放、適合新手。 瀏覽 Hacktoberfest issue

[Feature Request] deprecate `data` out of `kwargs` and make SSHCertificate functionality public.

未關閉
#755 6 則留言 0 個 reaction 已指派 0 人 在 GitHub 檢視

還沒有人認領這個 Issue。

評估

難度
3/5
預估耗時
1-2 天
新手友好度
35/100
Issue 類型
功能
描述清晰度
描述清楚
活躍度
停滯
技術堆疊
python
領域
api, backend

研究方向

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.

由索引模型根據 Issue 內容生成。

描述

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.

主要語言
Python
星號
971
分支
223
平均合併
13 小時 48 分鐘
30 天內合併 PR
2

環境準備

  • 沒有 Dockerfile 或 Docker Compose 檔案
  • 沒有 Pull Request 範本
  • 閱讀貢獻指南

從這裡開始

  1. 先讀完整個 Issue,再讀專案的貢獻指南。
  2. 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
  3. Fork 儲存庫,在一個分支上完成修改。
  4. 送出 Pull Request,並在描述裡引用這個 Issue 編號。

AzureAD/microsoft-authentication-library-for-python 的其他 Issue

查看 AzureAD/microsoft-authentication-library-for-python 的全部 Issue

相似的 Issue

更多 Python Issue

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。