Using MSAL for admin consent authentication #6384
Labels
msal-browser
Related to msal-browser package
msal-react
Related to @azure/msal-react
Needs: Author Feedback
Awaiting response from issue author
no-issue-activity
Issue author has not responded in 5 days
public-client
Issues regarding PublicClientApplications
question
Customer is asking for a clarification, use case or information.
Core Library
MSAL.js (@azure/msal-browser)
Core Library Version
3.0.2
Wrapper Library
MSAL React (@azure/msal-react)
Wrapper Library Version
2.02
Public or Confidential Client?
Public
Description
I want to let the user authenticate with a pop-up and not redirecting him to Microsoft site from the current page that he is on.
So I tried to implement pop-up authentication for admin consent with MSAL, but I didn't find a way to make the configuration support admin consent.
This is our current configuration, I'd like to achieve something similar using MSAL-react.
I'm currently using an admin consent flow to acquire consent from customers, afterwards we are using the
https://login.microsoftonline.com/$%7BtenantId%7D/oauth2/v2.0/token
to generate access tokens using the customer's tenantIdOur current consent part, looks like this:
When we have request redirected from Microsoft we're getiing the tenantId and we're able to generate a token using that tenantId.
Does MSAL support admin consent authentication?
If so, can you direct me to how to configure it properly?
MSAL Configuration
Relevant Code Snippets
Identity Provider
Azure AD / MSA
Source
External (Customer)
The text was updated successfully, but these errors were encountered: