MSAL Library Angular : To pass client Ids Dynamically into app to provide login via azure accounts.

Dani Sleiman 1 Reputation point
2020-11-05T12:49:21.863+00:00

Hi
I have used package @azure/msal-angular into my angular app to provide login to users via there azure microsoft accounts . But the issue I am facing, how can I pass the client Ids dynamically if I want to allow multiple users with different client Ids to login into my app?

Is there any live support chat or call? Where we can discuss this issue more clearly.

Microsoft Entra ID
Microsoft Entra ID
A Microsoft Entra identity service that provides identity management and access control capabilities. Replaces Azure Active Directory.
19,388 questions
{count} votes

2 answers

Sort by: Most helpful
  1. 2020-11-05T18:06:11.087+00:00

    Hello @Dani Sleiman , that's not possible using MSAL angular. You would've to use Microsoft Authentication Library for JavaScript (MSAL.js) or Microsoft Authentication Library for JavaScript (MSAL.js) 2.0 for Browser-Based Single-Page Applications for such purpose.

    Let us know if this answer was helpful to you. If so, please remember to mark it as the answer so that others in the community with similar questions can more easily find a solution.

    0 comments No comments

  2. israel torres 1 Reputation point
    2022-11-30T07:07:38.67+00:00

    Israeljt1979@harsh.com .com