Hacktoberfest 2026: as issues que os mantenedores marcaram para outubro, abertas e boas para iniciantes. Ver issues do Hacktoberfest

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

Aberta
#755 6 comentários 0 reações 0 responsáveis Ver no GitHub

Ninguém assumiu esta issue ainda.

Avaliação

Dificuldade
3/5
Tempo estimado
1-2 dias
Facilidade para iniciantes
35/100
Tipo de issue
Funcionalidade
Clareza
Claramente especificada
Status de atividade
Estagnada
Stack de tecnologia
python
Domínio
api, backend

Direção de pesquisa

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.

Escrita pelo modelo de indexação a partir do texto da issue.

Descrição

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.

Linguagem predominante
Python
Estrelas
971
Forks
223
Merge médio
13h 48min
PRs com merge (30d)
2

Preparar o ambiente

Primeiros passos

  1. Leia a issue inteira e depois o guia de contribuição do projeto.
  2. Comente na issue dizendo que vai assumir — evita que duas pessoas façam o mesmo trabalho.
  3. Faça um fork do repositório e trabalhe em uma branch.
  4. Abra um pull request que referencie o número da issue.

Mais de AzureAD/microsoft-authentication-library-for-python

Todas as issues de AzureAD/microsoft-authentication-library-for-python

Issues semelhantes

Mais issues de Python

Receba novas issues na sua caixa de entrada

Um resumo curto de issues do GitHub para quem está começando.