microsoft-authentication-library-for-js
microsoft-authentication-library-for-js copied to clipboard
How to get teamsUserAadToken from flow browser (msal js)
Core Library
MSAL.js (@azure/msal-browser), MSAL.js v1 (@azure/msal or msal)
Wrapper Library
MSAL React (@azure/msal-react)
Public or Confidential Client?
Public
Description
I var result = await aadClient .AcquireTokenInteractive(scopes) .WithUseEmbeddedWebView(true) .ExecuteAsync(); string teamsUserAadToken = result.AccessToken; string userObjectId = result.UniqueId;
I got access token on c# but i dont know how to get this value from browser I want to get access token with scope voip and chat So How to get teamsUserAadToken from flow browser
Source
External (Customer)