Extend AuthCodeMSALBrowserAuthenticationProvider to support for multi-tenancy.

Aberta
#1,908 0 comentários 0 reações 0 responsáveis Ver no GitHub

Ninguém assumiu esta issue ainda.

Avaliação

Dificuldade
4/5
Tempo estimado
3-5 dias
Facilidade para iniciantes
38/100
Tipo de issue
Funcionalidade
Clareza
Razoavelmente clara
Status de atividade
Estagnada
Stack de tecnologia
typescript
Domínio
api, authentication

Direção de pesquisa

Start by locating AuthCodeMSALBrowserAuthenticationProvider and reviewing how it obtains the Microsoft Graph token. Read the linked MSAL multi-tenant accounts guidance to understand the authority input. Done means callers can select an authority for the token and the provider uses it for the Graph instance, with coverage for the new behavior.

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

Descrição

status:waiting-for-triage type:feature
Is your feature request related to a problem? Please describe the problem.

On my multi-tenancy application, I cannot see an option how I can get a token for a user for a specific tenant. The provider AuthCodeMSALBrowserAuthenticationProvider always provides the MSGraph instance with the token of the home tenant of the user.

Describe the solution you'd like.

When instantiating AuthCodeMSALBrowserAuthenticationProvider, allow user user to pass in the authority of the token he wants to use.

Additional context?
Linguagem predominante
TypeScript
Estrelas
833
Forks
240
Métricas de merge de PRs
Nenhum PR com merge em 30d

Guia de contribuição

Abrir o guia de contribuição

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 microsoftgraph/msgraph-sdk-javascript

Todas as issues de microsoftgraph/msgraph-sdk-javascript

Issues semelhantes

Mais issues de TypeScript

Receba novas issues na sua caixa de entrada

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