Extend AuthCodeMSALBrowserAuthenticationProvider to support for multi-tenancy.

Aperta
#1,908 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
4/5
Tempo stimato
3-5 giorni
Idoneità per principianti
38/100
Tipo di issue
Funzionalità
Chiarezza
Abbastanza chiara
Stato di attività
Ferma
Stack tecnologico
typescript

Direzione di ricerca

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.

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

Descrizione

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?
Lingua principale
TypeScript
Stelle
833
Fork
240
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Guida per i contributori

Apri la guida per i contributori

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

Tutte le issue di microsoftgraph/msgraph-sdk-javascript

Issue simili

Altre issue su TypeScript

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.