Skip to content

Extend AuthCodeMSALBrowserAuthenticationProvider to support for multi-tenancy. #1908

@SimonSimCity

Description

@SimonSimCity

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions