Hacktoberfest 2026: le issue che i maintainer hanno segnato per ottobre, aperte e adatte ai principianti. Sfoglia le issue Hacktoberfest

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

Aperta
#755 6 commenti 0 reazioni 0 assegnatari Vedi su GitHub

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
3/5
Tempo stimato
1-2 giorni
Idoneità per principianti
35/100
Tipo di issue
Funzionalità
Chiarezza
Specificata chiaramente
Stato di attività
Ferma
Stack tecnologico
python
Ambito
api, backend

Direzione di ricerca

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.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

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.

Lingua principale
Python
Stelle
971
Fork
223
Merge medio
13h 48m
PR unite (30g)
2

Preparare l'ambiente

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di AzureAD/microsoft-authentication-library-for-python

Tutte le issue di AzureAD/microsoft-authentication-library-for-python

Issue simili

Altre issue su Python

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.