Questions tagged msal-angular

Explore the latest questions and answers asked by our top developers.

Msal interaction in progress error in at MsalService.acquireTokenRedirect if dont use MsalGuard

i am not getting issue for below route. { path: ”, component: HomeComponent, canActivate: [ MsalGuard ] } I am getting issue for below route without MsalGuard. Need alternate for using MsalGuard because i cant use guard { path: ”, component: HomeComponent } Source: Angular Questions

By user2569172
Categorized as angular, azure, msal, msal-angular, msal.js Tagged , , , ,

How to ignore MsalModule v2 for mock

How can we ignore msal module for specific environment as the login page appears which we need to bypass or disable while in mock environment Source: Angular Questions

Msal-Angular : Handle Cancel event

How can we handle Cancel event, when coming from third party to Home App in Angular? How to check from which policy it is coming back. Policy like edit profile, Reset-Password, Change Phone? In Console we are getting Error : access_denied = ‘AADB2C90091: The user has cancelled entering self-asserted information. Correlation ID: 7a35d452-cc14-46aa-9b9a-9779c8506c5d Source: Angular […]

By Vin
Categorized as angular, msal, msal-angular, reactjs Tagged , , ,

Module ‘"@azure/msal-angular"’ has no exported member ‘MSAL_CONFIG’

I have an Angular 11 project where I’m trying to import MSAL_CONFIG in app.module, but I only get the error above. import { MsalBroadcastService, MSAL_CONFIG, MsalGuard, MsalGuardConfiguration, MsalInterceptor, MsalInterceptorConfiguration, MsalModule, All the other classes are imported correctly. Why is this? In package.jxon I’m using "@azure/msal-angular": "^2.0.0", "@azure/msal-browser": "^2.16.1", Source: Angular Questions

By Agnete
Categorized as angular, msal-angular, typescript Tagged , ,

Msal-angular : How to Fetch latest payload after edit profile

I am facing issue with how to fetch updated user profile information. Right now in chrome Inspect : Application Session storage is showing both information, old first name, last name and after edit profile updated first name, last name. My below script is fetching old info – first name and last name. Which event i […]

By Vin
Categorized as angular, msal-angular Tagged ,

Facing some errors when integrating angular 8 application with Azure SSO

I have integrated my angular 8 application with azure SSO as there are 2 ways to integrate for sign-in with popup or redirect() I am not facing any issue with popup but when I try to integrate with redirect I am getting below error I tried searching for similar issue online to find solution but […]

By Hitesh
Categorized as angular, azure, msal, msal-angular, node-modules Tagged , , , ,

Get access token Azure AD using client_secret key (client credential flow) Angular application

Our client wants us to implement a trusted subsystem design, meaning they have their Azure AD (Client AD) to authorize the users for the frontend. And asked us to use our own Azure AD (Dev AD) to authorize the frontend to the backend. We managed authorization flow from Cliend AD (using angular-msal library) and there […]

MSAL v1 after logout click on login button it is directly login without asking credential

I’m using the below version of angular and MSAL for login flow, "@angular/cli": "~6.0.8", "@azure/msal-angular": "^1.1.2", "msal": "^1.4.4" issue: once I click on logout it is taking me to log out screen which is current behave but when I click on the login button I’m calling the loginRedirect() method for login but it directly login […]

By mitul
Categorized as angular, azure-devops, msal, msal-angular Tagged , , ,

How do I know that I already single sign-on in angular application?

I use to setup a single sign-on in angular. So if I click the sign in button then I can login. My question is that if in other place I already login with my company’s credentials so I don’t need to login again in the angular application. How my angular application knows I already […]

By Bigeyes
Categorized as angular, azure, msal, msal-angular Tagged , , ,

Invalid x5t token on v2 token from msal-angular when using in microsoft-graph-client

I’m using miscrosoft-graph-client in Node.js. I’m getting my tokens with msal-angular and passing them to my node backend. The tokens are version 2.0 access tokens, so there is no x5t key in the token header, though I’ve read that the kid key serves the same purpose. In node, I am able to initialize the graph […]

1 4

Still Have Questions?

Our dedicated development team is here for you!

We can help you find answers to your question for as low as 5$.

Contact Us