Extend AuthCodeMSALBrowserAuthenticationProvider to support for multi-tenancy.

Offen
#1,908 0 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen

Dieses Issue hat noch niemand übernommen.

Bewertung

Schwierigkeit
4/5
Geschätzter Aufwand
3-5 Tage
Anfängerfreundlichkeit
38/100
Issue-Typ
Feature
Klarheit
Größtenteils klar
Aktivitätsstatus
Veraltet
Tech-Stack
typescript
Bereich
api, authentication

Rechercherichtung

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.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Beschreibung

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?
Vorherrschende Sprache
TypeScript
Sterne
833
Forks
240
PR-Merge-Kennzahlen
Keine gemergten PRs in 30 T.

Beitragsleitfaden

Beitragsleitfaden öffnen

Erste Schritte

  1. Lesen Sie das ganze Issue und danach den Beitragsleitfaden des Projekts.
  2. Schreiben Sie ins Issue, dass Sie es übernehmen — das erspart doppelte Arbeit.
  3. Forken Sie das Repository und arbeiten Sie in einem Branch.
  4. Öffnen Sie einen Pull Request, der die Issue-Nummer nennt.

Mehr aus microsoftgraph/msgraph-sdk-javascript

Alle Issues in microsoftgraph/msgraph-sdk-javascript

Ähnliche Issues

Weitere Issues zu TypeScript

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.