Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to get teamsUserAadToken from flow browser (msal js) #7346

Open
antimagetiny opened this issue Sep 26, 2024 · 0 comments
Open

How to get teamsUserAadToken from flow browser (msal js) #7346

antimagetiny opened this issue Sep 26, 2024 · 0 comments
Labels
feature-unconfirmed [email protected] Related to [email protected] (implicit flow) msal-browser Related to msal-browser package msal-react Related to @azure/msal-react Needs: Attention 👋 Awaiting response from the MSAL.js team public-client Issues regarding PublicClientApplications question Customer is asking for a clarification, use case or information.

Comments

@antimagetiny
Copy link

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)

@antimagetiny antimagetiny added feature-unconfirmed question Customer is asking for a clarification, use case or information. labels Sep 26, 2024
@microsoft-github-policy-service microsoft-github-policy-service bot added the Needs: Attention 👋 Awaiting response from the MSAL.js team label Sep 26, 2024
@github-actions github-actions bot added msal-browser Related to msal-browser package msal-react Related to @azure/msal-react [email protected] Related to [email protected] (implicit flow) public-client Issues regarding PublicClientApplications labels Sep 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature-unconfirmed [email protected] Related to [email protected] (implicit flow) msal-browser Related to msal-browser package msal-react Related to @azure/msal-react Needs: Attention 👋 Awaiting response from the MSAL.js team public-client Issues regarding PublicClientApplications question Customer is asking for a clarification, use case or information.
Projects
None yet
Development

No branches or pull requests

1 participant