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
73 views

Front channel URL not being called for Angular 15 MSAL.js v3 when end session endpoint called

I am having a problem with my front channel url being called from logout. It works in edge, but not in chrome. We have several applications that this works for. The only one that is not logging out ...
Chris Atwood's user avatar
0 votes
0 answers
319 views

Existence of redeem refresh token journey in B2C custom policy causes bad request 400 response from token request coming from MSAL.js

I have Angular app which authenticates users in Azure AD B2C using MSAL library with standard usage of that library. I have separate custom policy for sign-in which worked fine so far. I don't have ...
WojBronx's user avatar
  • 132
0 votes
0 answers
195 views

Microsoft Teams React-App SSO not working on iOS mobile

I am creating a react app for teams. Using the teams-toolkit i added SSO as instructed in their doku. Everything works fine, i can login users and get accessTokens to call my secured BE. But for some ...
civlon's user avatar
  • 41
0 votes
1 answer
299 views

Unable to authenticate against azure fhir api from msal-react

I am trying to access the azure api for fhir from a react application. I am using msal-react 2.x. I get a 401 error when I try to access the "/Patient" rest endpoint. I have created a Azure ...
webdevbing's user avatar
0 votes
1 answer
663 views

Cannot close popup login MSAL with React

im trying to login using MSAL with react. I make code for recover the token generated by MSAL (for later use it with fetch methods); in the process i use the method loginPopup() for open a popup where ...
Dr oscar's user avatar
  • 407
0 votes
0 answers
356 views

How to use SSO with MSAL.js and Azure AD B2C

I have a couple of Angular-applications which all use Azure AD B2C + msal.js where I want the users to be able to switch between the applications without having to login all over again. I have been ...
Nait's user avatar
  • 1,145
0 votes
1 answer
295 views

Passport-azure-ad MSAL Using BearerStrategy gives error

Client(React Js) - @azure/msal-react, @azure/msal-browser Server(Express Js) - Passport-azure-ad var options = { identityMetadata:"https://login.microsoftonline.com/<tennant-id>/v2.0/....
Vishal Jaiswal's user avatar
2 votes
1 answer
389 views

Authentication issues developing Outlook Web Add-In using REACT and MSAL.JS

I am developing an Outlook Web Add-In using Yeoman generator-office Office.Js REACT framework azure/msal-browser version 2.32.2 As per Microsoft/Office Add-In/MSAL team's best practice - I am ...
user avatar
0 votes
1 answer
286 views

As of today (August 2023) is SAML protocol supported by MSAL.js?

I'm working on a project where a client of ours would like to use their Azure account for SSO (now called Entra Verified ID it looks like) to log into our website (React [FE], Node [BE]). My questions ...
Mix Master Mike's user avatar
0 votes
0 answers
14 views

Enable pop up login page to user if meet auth error in WebAuth BrowserAuth package

**Name of Team Making the Request: ** Loop In Word Engineering Contact Alias: sunyao **Target Release: Month: ** Sep. **Why Needed/Impact: ** For loop in word feature which leverage WebAuth ...
Yao Sun's user avatar
0 votes
0 answers
69 views

Azure B2C with Xero identity provider

I am trying to integrate a Xero to let users authenticate with our SPA app and REST API utilizing Azure B2C. The scenario I am looking for is sign in only for local accounts and Xero users, whose ...
user1013607's user avatar
0 votes
0 answers
70 views

Session-file-store not getting all the data from MSAL

Lately I've been expanding on a Microsoft example MS Tutorial to write a web app using MSAL authentication. Works just fine. Normal auth flow seems to be: sign-in => acquire-token. But it got ...
Peter's user avatar
  • 65
0 votes
0 answers
33 views

Can Angular interceptors hook into GET requests defined in the template of the Angular component? [duplicate]

Problem context Our team is building an enterprise content management system. The content management system will include images that will need to be protected by user security. Most HTTP requests are ...
Michael Rosario's user avatar
2 votes
0 answers
667 views

No accounts found in useMsal hook when using loginRedirect

I'm trying to use MSAL to authenticate users. If I authenticate using instance.loginRedirect()the value of accounts from calling useMsal() is always an empty array, but is correctly populated if I use ...
Frosty619's user avatar
  • 1,449
2 votes
1 answer
728 views

Msal loginPopup() method not working on macOS and windows outlook client

I'm using msal library to login user in outlook add-in. I'm calling loginPopup method in desktop macOS outlook client let loginRequest = { scopes: ["profile","openid","user....
infodev's user avatar
  • 5,145

15 30 50 per page
1 2 3
4
5
36