I would like to be able to use the authentication token that I get when logging into my webapp through msal. If I use the toolkit I am forced to log in again (mgt-login). How can I bypass the second login? Thanks.
How to use msal authentication token in the toolkit?
366 views Asked by Andrea At
1
There are 1 answers
Related Questions in AZURE
- How to update to the latest external Git in Azure Web App?
- I need an azure product that executes my intensive ffmpeg command then dies, and i only get charged for the delta. Any Tips?
- Inject AsyncCollector into a service
- mutual tls authentication between app service and function app
- Azure Application Insights Not Displaying Custom Logs for Azure Functions with .NET 8
- Application settings for production deployment slot in Azure App Services
- Encountered an error (ServiceUnavailable) from host runtime on Azure Function App
- Implementing Incremental consent when using both application and delegated permissions
- Invalid format for email address in WordPress on Azure app service
- Producer Batching Service Bus Vs Kafka
- Integrating Angular External IP with ClusterIP of .NET microservices on AKS
- Difficulty creating a data pipeline with Fabric Datafactory using REST
- Azure Batch for Excel VBA
- How to authenticate only Local and Guest users in Azure AD B2C and add custom claims in token?
- Azure Scale Sets and Parallel Jobs
Related Questions in AZURE-AD-MSAL
- Azure AD B2C login getting error The redirect URI 'localhost:3001' provided in the request is not registered
- Azure AD B2C login with Microsoft identity provider error: Proof Key for Code Exchange is required for cross-origin authorization code redemption
- Unable to use MSAL Desktop Apps that use localhost from Azure Storage Explorer and SQL Server Mgmt Studio
- MSAL: Session data corrupted - redirect_uri mismatch
- Does the go Azure AD MSAL library support PoP OAuth?
- Graph API to access Business Central using Application Client Credentials
- Need to pass custom claims to B2C Custom Policy from a React Application
- Should you implement a custom RemoteAuthenticatorView Blazor WASM
- Authenticate Power BI Reports via Node & NextJS
- How to prevent Login in AD B2C based on an extension claim type using User Flows
- Nested Routes Issue with React Router
- Error comes when Installing MSAL to Angular App
- Azure AD Auth, Angular & .NET API with Graph: MSAL.UiRequiredException Fix?
- Get back deleted applications starting with 'dev' client-certificate authentication
- Handling refresh tokens in Azure (Microsoft graph) delegation flow
Related Questions in MSAL.JS
- msal-browser with a non-Microsoft identity provider is refreshing tokens every time acquireTokenSilent called
- BrowserAuthError: popup_window_error: Error opening popup window on @azure/msal-browser 2.16.1
- Azure angular msal/browser package is opening blank popup when trying to log into teams
- TypeError: request.deviceCodeCallback is not a function when using MSAL Node
- How to build a library that can be used in various types of applications (executables, web, etc.) using msal-node?
- When logging in with MsalAuthenticationTemplate and it redirects me to my website, it gives a rendering error
- Ionic React Android, unable to get access token after redirect
- OUTLOOK: MAC: Add-in using MSAL/GraphAPI, Refresh token for ssoSilent fails
- Encounter CROS error while trying to get key vault secrets in my Angular app(using Msal.js)
- Properly secure a Vue 3 SPA with MSAL browser and Vue router navigation guards
- Getting Application roles in JWT token for external users and Microsoft internal users after the Authentication
- MSAL js, Does extraScopesToConsent function properly during the loginRedirect workflow?
- MSAL authentication in Angular Logout redirect problem
- AADB2C90085 error every time user is redirected to applicaiton
- msal-browser failed in Office Addin Dialog API
Related Questions in MICROSOFT-GRAPH-TOOLKIT
- Is it possible to read custom fields added to an Event if the signed-in user is not the organizer?
- Is there a way to hide the chat feature in the person-card component?
- PnP Modern Search + Microsoft Graph Toolkit registry issue
- How to use Microsoft Graph Toolkit with Blazor Server
- Microsoft Graph Toolkit - TeamsFxProvider - Getting empty token on iOS devices
- getting the access token from mgt-login with globalProvider.getAccessToken. How do i get a refresh token?
- Teams Tab App - MGT - TeamsFxProvider - When should an interactive login be required?
- What is the event for upload in the mgt-file-list component
- Graph Toolkit SPFx PeoplePicker (mgt-spfx,mgt-react) does it retieve/can be used with SharePoint groups?
- Graph Toolkit - mgt-picker and mgt-channel-picker - Clear the selected value
- Graph Toolkit - Clicking on folder opens a new window in mgt-file-list
- @microsoft/mgt and mgt-msal2-provider compatibility with @Angular@16
- How to correctly reset mgt-people-picker in JavaScript
- MS Graph toolkit components with app-auth?
- How to get the selected "Person Type" (user or group) from the Microsoft Graph Toolkit People Picker control in javascript?
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
It sounds like you are already using msal.js in your application, correct?
This feature is not yet available, but we added the capability to configure an new MsalProvider with an existing UserAgentApplication object from msal.js.
This capability was added recently by a community member and is available in the latest preview: https://github.com/microsoftgraph/microsoft-graph-toolkit/releases/tag/v2.0.0-preview.1
You can find details on this new feature in the mgt preview docs here: https://github.com/microsoftgraph/microsoft-graph-docs/blob/mgt/next/concepts/toolkit/providers/msal.md#pass-an-existing-useragentapplication-in-the-useragentapplication-property