Skip to main content

Questions tagged [msal.js]

The Microsoft Authentication Library for JavaScript enables client-side JavaScript web applications, running in a web browser, to authenticate users using Azure AD for work and school accounts (AAD), Microsoft personal accounts (MSA), and social identity providers like Facebook, Google, LinkedIn, Microsoft accounts, etc. through Azure AD B2C service.

msal.js
0 votes
0 answers
42 views

MSAL Outlook Graph API Not returning refresh token with access token

I am creating an auth flow for the user to allow Mail sending through our app for email automation so therefore I need to store the accessToken and the refreshToken in my DB to automatically send ...
DPJ's user avatar
  • 1
0 votes
1 answer
35 views

Implementing Azure B2C single sign on shared between multiple apps

I want to implement SSO accross multiple apps. My requirement is that we will login in one app and switch between different apps withoout having to login again. App 1- React Spa App 2 - .Net based. I ...
Rashmi936's user avatar
0 votes
0 answers
18 views

Automatically acquire access token for site hosted in sharepoint to authenticate in on-premise web api

Is it possible to silently, completely without user interaction, acquire access token from login.microsoftonline.com, to authenticate web api running on-premise? I have registered an app in Azure ...
pilifi's user avatar
  • 43
0 votes
0 answers
21 views

Msteams bot custom tab sso failing with error code 2605 ServerTemporarilyUnavailable

we have msteams bot with custom tab in it. We use msal.js for automated sso as per this doc. Since today morning, we are suddenly getting the error: {"Description":"(pii)","...
SLJeena's user avatar
0 votes
1 answer
39 views

Get change notifications teams presence using Microsoft Graph API without delegated permissions

I am working on a application which needs ms teams change notifications for presence to update the frontend. The issue is this application will open in another application as an IFRAME, I have tried ...
HAMZA 's user avatar
  • 13
0 votes
1 answer
76 views

Cannot authenticate with SSO between multiple web apps with Azure B2C and MSAL.js Angular

We are building multiple web applications that use Azure B2C user flows for authentication. They are hosted on our servers within the same domain, but different subdomains to differentiate them. The ...
user25230787's user avatar
1 vote
0 answers
28 views

Microsoft.Identity.Client.MsalServiceException

I am trying to send emails from my angularjs application using MSAL setup, getting these exceptions: Exception thrown: 'System.Net.WebException' in mscorlib.dll Exception thrown: 'Microsoft.Identity....
Manohar's user avatar
0 votes
1 answer
69 views

Configure Azure Resource Manager API for an Angular Web App

I have been trying to call the azure resource manager api to get a list of the resources in a subscription but as soon as I call the method , it gives me an error and the user isn't able to ...
p0stdelay's user avatar
0 votes
2 answers
66 views

Azure React WebApp Showing PKCE issue

Getting issue PKCE(Proof Key for Code Exchange is required for cross-origin authorization code redemption.) I have react webApp deployed on Azure WebApp , the platform there is SPA I added the ...
Sanjay Prasad's user avatar
0 votes
1 answer
121 views

Facing 401 error while calling an api in react js with MSAL setup

I am trying to use MSAL library by Microsoft in my react js project. We have done the app registration for both front-end(react js) and backend(api). Currently, I am testing this in my local machine ...
Bubbles's user avatar
  • 13
0 votes
1 answer
47 views

MS Entra ID redirect URL for Excel Addin

I am developing an Excel Addin that uses the MSAL to perform SSO on behalf of the logged in user. Given that the user is running the Addin from O365 cloud they are already signed into the domain, and ...
Andrew Tyson's user avatar
0 votes
1 answer
111 views

How do I use MSAL-react to get the oid of any user?

I'm new to MSAL and working on an Office js react add-in, which will be free to download and use with 'basic' features and require a subscription for 'pro' features. The subscription-purchase workflow ...
S Bullen's user avatar
1 vote
0 answers
22 views

msal-browser with a non-Microsoft identity provider is refreshing tokens every time acquireTokenSilent called

I am trying to set up the MSAL browser library to work with a instance of Duende Identity Server. Login is working fine so I'm able to obtain an initial set of tokens. I'm now trying to use ...
Tom Troughton's user avatar
0 votes
0 answers
214 views

BrowserAuthError: popup_window_error: Error opening popup window on @azure/msal-browser 2.16.1

I have the following situation: Package: @azure/msal-browser 2.16.1 Code: try { authResult = await installerMsal.loginPopup({ scopes: ..., prompt: 'consent' }); } catch (err) { ... This ...
Arthur Borba's user avatar
0 votes
0 answers
88 views

Azure angular msal/browser package is opening blank popup when trying to log into teams

I am using Angular 12. This uses "@azure/msal-angular": "^2.0.0" and "@azure/msal-browser": "^2.14.2" packages. This has been working fine for the last 2 years. ...
Kankana Ghosh's user avatar

15 30 50 per page
1
2 3 4 5
36