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.

6 votes
1 answer
2k views

Azure AD B2C Link to Sign Up Page (Not Sign In)

I'm using Azure AD B2C with msal.js in my React app. Currently, when the user tries to enter the protected area of my app, msal.js redirects the user to the login in page which provides a link to the ...
Sam's user avatar
  • 29.3k
2 votes
2 answers
2k views

Scope claim is null when requesting web api from Angular 4 SPA

I am trying to protect my web api using Azure B2C AD and consume the web api using an Angular 4 SPA. However, for some reason the scope claim is always null even though other claims are working just ...
Hos's user avatar
  • 591
2 votes
1 answer
2k views

Msal.js getUser() returns null

When I use the msal.js library after successfully authorizing the user, I am getting a null response on getUser() and am not sure why.
Daniel Dobalian's user avatar
0 votes
2 answers
669 views

For ADAL.js (or MSAL) with ReactJS/AngularJS, what's best way to handle versioning the framework

I’m working with a large company with multiple dispersed teams developing applications using the ADAL client libraries and either the React and/or Angular frameworks. Over time, the various ...
Brian Pendergrass's user avatar
4 votes
1 answer
2k views

msal token timeout using a React SPA

I am using the msal library from npm (version 0.1.3) in a react application and can successfully redirect the user to login in and then acquire an access token. The issue I'm having is that after an ...
Daniel Archer's user avatar
1 vote
1 answer
2k views

MSAL + Angular : How to silently log in users quickly

I'm using MSAL JS (Azure AD B2C) + Angular (v5). Everything is working fine, except that the silent login is very slow. This causes an iframe to be loaded; which will re-bootstrap the entire site ...
Boland's user avatar
  • 1,561
18 votes
1 answer
3k views

Azure MSAL JS: How to edit profile?

I've successfully implemented MSAL JS for Azure AD B2C. The next step is to let the user edit their profile. I've created a new policy for Edit Profile. But how to redirect the user there? There are ...
Boland's user avatar
  • 1,561
16 votes
3 answers
30k views

Is it possible to use MSAL.js to get refresh token?

I want to integrate with Miscrosoft Outlook. I am able to login with MSAL.js and get an access token, but I am not able to get a refresh token. Is there a way to do it?
Igor G.'s user avatar
  • 6,979

15 30 50 per page
1
32 33 34 35
36