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?
365 views Asked by Andrea At
1
There are 1 answers
Related Questions in AZURE
- Why does Azure Auto-Scale scale go lower then minimum amount of instances?
- Data execution plan ended with error on DB restore
- Why does Azure CloudConfigurationManager.GetSetting return null
- Do I need other roles than Worker Role for a web site and service layer in Azure?
- Azure Web App PATH Variable Modification
- Azure Data Factory: LinkedService for AzureSql in failed state
- How To Update a Web Application In Azure and Keep The App Up the whole time
- Using Azure MobileServices library with my own LAN WebApi
- ionCube loader error on Azure IIS
- App crash (if closed) after click on notification
Related Questions in AZURE-AD-MSAL
- In theory, is it possible for Azure AD or B2C to leverage the Facebook SDK for auth?
- How should I determine if an MSAL account has an Exchange based email system? (got an exception)
- How do I customize the App icon that appears in MSAL v2 myapps.microsoft.com?
- How to use ConfidentialClientApplication to perform AppOnly requests to Graph (Group.ReadWrite.All)
- Can MSAL be used with my own authority (e.g. IdentityServer)
- MSAL with Angular2 : Refused to display in a frame because it set 'X-Frame-Options' to 'deny'
- Azure B2C Refresh Token Functionality Not Working In iOS Swift Sample App
- Stay logged in when using msal.js
- Using MSAL in a machine-to-machine scenario as a CSP
- Unable to locate the refresh token with Microsoft Graph
Related Questions in MSAL.JS
- msal.js 2.0 tokenResponse null after loginRedirect
- Azure AD B2C - same user with multiple client accounts
- Is msal 2.0 (msal-browser) auth code flow is supported with Azure AD B2C custom policies?
- How to use msal authentication token in the toolkit?
- How Do I Mock MSAL Authentication?
- acquireTokenSilent fails due to the blockage of third-party cookies
- How do I retrieve the azure b2c account name
- Angular MSAL Library acquireTokenRedirect vs acquireTokenPopup error
- Microsoft single sign on - react-aad-msal library - can't get access token
- Why does the popup for b2c_1_edit_profile disappear?
Related Questions in MICROSOFT-GRAPH-TOOLKIT
- How to use msal authentication token in the toolkit?
- Graph Toolkit SPFx PeoplePicker (mgt-spfx,mgt-react) does it retieve/can be used with SharePoint groups?
- Teams Tab App - MGT - TeamsFxProvider - When should an interactive login be required?
- What is the event for upload in the mgt-file-list component
- getting the access token from mgt-login with globalProvider.getAccessToken. How do i get a refresh token?
- Build Error Using Static Site Generator (Gatsby) and Microsoft Graph Toolkit
- Use different profile image sizes in Microsoft Graph Toolkit
- Running Microsoft Graph Toolkit for development purposes from github repo causes HTTP 431
- Graph Toolkit React People Picker Error in console for User Photo Endpoint
- Microsoft Graph Toolkit People Picker Read-only Property
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?
Popular Tags
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