Hacktoberfest 2026 : les issues que les mainteneurs ont marquées pour octobre, ouvertes et accessibles aux débutants. Parcourir les issues Hacktoberfest

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

Ouverte
#755 6 commentaires 0 réactions 0 personnes assignées Voir sur GitHub

Personne n'a encore pris cette issue.

Évaluation

Difficulté
3/5
Temps estimé
1-2 jours
Accessibilité débutants
35/100
Type d'issue
Fonctionnalité
Clarté
Clairement spécifiée
Activité
À l'abandon
Stack technique
python
Domaine
api, backend

Piste de recherche

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.

Rédigé par le modèle d'indexation à partir du texte de l'issue.

Description

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.

Langage dominant
Python
Étoiles
971
Forks
223
Merge moyen
13 h 48 min
PR mergées (30 j)
2

Préparer son environnement

Par où commencer

  1. Lisez l'issue en entier, puis le guide de contribution du projet.
  2. Signalez en commentaire que vous la prenez — cela évite que deux personnes fassent le même travail.
  3. Forkez le dépôt et travaillez sur une branche.
  4. Ouvrez une pull request qui référence le numéro de l'issue.

Autres issues de AzureAD/microsoft-authentication-library-for-python

Toutes les issues de AzureAD/microsoft-authentication-library-for-python

Issues similaires

Plus d'issues Python

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.