Skip to main content

All Questions

Tagged with
1 vote
0 answers
30 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
0 answers
77 views

MSAL authentication in Angular Logout redirect problem

Working on angular app with MSAL authentication and configured it with MSAL config factory and implemented in providers of the app module. I have provided a post logout redirect uri in the ...
Sree Deepak's user avatar
0 votes
2 answers
427 views

How to integrate MSAL library from scratch with Angular js 1.x application

We build our application based on AngularJS v1.8.2 and Java as a backend. Currently we have used keyclock for MFA. We have implemented everything from the backend. Now we have to replace keycloak with ...
Ranjan Singh's user avatar
-1 votes
1 answer
10k views

How to use refresh token coming from acquiretoken silent in MSAL-browser

I am trying to acquire token by aquiretokensilent after login and then have to do authorization in multiple modules.As documentation of MSAL-browser acquiretokensilent will automatically take care of ...
user3420561's user avatar
0 votes
1 answer
2k views

MSAL.js for API calls from AngularJS with Azure AD Authentication

Currently my application is using ADAL.js to get cached Azure AD token from angularJS application and call API methods of ASP.NET Core hosted. Planning to migrate ADAL.JS to MSAL.js as support is ...
useruser00's user avatar
0 votes
1 answer
534 views

Calling a function to get JSON bject before app.module.ts Loads (Angular)

My app.module.ts file is :- import { MsalModule, MsalInterceptor } from '@azure/msal-angular'; import getConfig from './env'; var config_values = getConfig(); // we are calling the function here, but ...
Ravi Kumar Singh's user avatar
2 votes
0 answers
476 views

Is there any simple\direct way to simulate\test MSAL JS $rootScope.$on("msal:acquireTokenFailure") event?

I'm trying to debug some JS code to acquire a token silently. However I need to enter into this specific function that handles acquireTokenFailure event: $rootScope.$on("msal:acquireTokenFailure", ...
Leniel Maccaferri's user avatar
0 votes
2 answers
2k views

How to register MSAL JS callback for the custom B2C Invite policy?

This question is related to this one: AngularJS hash # problem after Azure B2C Sign Up policy redirects to application Here's the Invite custom policy details: https://github.com/azure-ad-b2c/samples/...
Leniel Maccaferri's user avatar
0 votes
1 answer
472 views

tokenReceivedCallback is not called when using MSAL AngularJS with Azure B2C

Doing msalService.loginPopup(); and then: $rootScope.$on("msal:loginSuccess", function () { console.log("loginSuccess"); var token = msalService.userInfo.idToken; }); I can see that ...
Leniel Maccaferri'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