Skip to main content

All Questions

Tagged with
1 vote
0 answers
39 views

How to build a library that can be used in various types of applications (executables, web, etc.) using msal-node?

I'm developing a library for authentication using @azure/msal-node, however, for each type of application, there is a specific class. For instance, ConfidentialClientApps for web app, web API, service/...
Simone's user avatar
  • 11
0 votes
1 answer
238 views

Getting Type 'InteractionStatus' is not assignable to type '"startup"' using node-browser and typescript

I was using node-browser 2.5 with javascript/typescript, based on this vue sample project. https://github.com/AzureAD/microsoft-authentication-library-for-js/blob/dev/samples/msal-browser-samples/vue3-...
omega's user avatar
  • 42.9k
2 votes
2 answers
3k views

Getting undefined (reading 'getLogger') with Msal Provider React TS + Vite

I'm trying to use the ms-identity-javascript-react-tutorial to manage users (sign-in/up). This is guide I'm following https://github.com/Azure-Samples/ms-identity-javascript-react-tutorial/tree/main/3-...
Christian Steinmann's user avatar
1 vote
2 answers
5k views

Azure AD - MSAL.js - ssoSilent() vs acquireTokenSilent()

Trying to figure out. What's the difference between ssoSilent() and acquireTokenSilent() in MSAL.js? Both seem to fetch an auth object that has token inside them. Well u can call ssoSilent(...) ...
Jake_3H's user avatar
  • 402
0 votes
0 answers
1k views

How to do a correct Redirect with (msal) msal-browser?

When I am implementing an authorisation mechanisme with with msal-browser using redirect and not popup I seem to run into strange behaviors Problem 1 : I get unwanted parameters in my url. Problem 2 : ...
K N's user avatar
  • 341
0 votes
1 answer
1k views

Cypress AzureAD login always redirects outside the cypress window

I am trying to implement the Azure AD login automation using Cypress using login post call and setting the local session storage as mentioned in the github https://github.com/juunas11/...
Shankar Raga's user avatar
1 vote
1 answer
453 views

Syntax error Invalid Regular expression angular typescript

i am getting this error and i am stuck cant find where is the syntax problem core.mjs:6495 ERROR SyntaxError: Invalid regular expression: /https://graph.microsoft.com/v1.0/communications/callRecords/...
ali's user avatar
  • 25
2 votes
1 answer
4k views

MSAL.js - can't get token with desired scope

I'm using @azure/msal-browser v2.16.1 and @azure/msal-react v1.0.1 libraries for authentication and authorization using Azure Active Directory. My scenario is that a React frontend application ...
micnyk's user avatar
  • 736
2 votes
2 answers
10k views

How to use MSAL with React?

I feel I might be close, but I can't get the msal.js library to work with react. After logging in via Microsoft I get redirected to my callback but with the code in the URL, e.g. http://localhost:3000/...
Konzy262's user avatar
  • 3,007
2 votes
1 answer
2k views

How to test refresh and expired token scenarios?

I'm using the msal.js library for authentication against my AAD account. I've got the logic to handle refreshing of tokens implemented, but I'm not sure how best to manually test this. try { ...
Andrew Craswell's user avatar
1 vote
1 answer
1k views

MSAL.js How to access SID received in other tab?

I'm trying to implement MSAL in a client side library, which works pretty well so far. Now for my next steps I'm trying to add SSO by following the documentation at https://learn.microsoft.com/en-us/...
nsevens's user avatar
  • 2,755
0 votes
1 answer
2k views

How to configure Redirect URI for Microsoft Application portal for Microsoft teams app

I have created a SharePoint Webpart and launched it to Microsoft Teams. The webpart needs to send a request to Microsoft Graph for authentication. During development, I added a redirect URL in apps....
Paddymac's user avatar
  • 405