Skip to main content

All Questions

Tagged with
0 votes
1 answer
91 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
0 votes
0 answers
92 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
0 votes
1 answer
92 views

Encounter CROS error while trying to get key vault secrets in my Angular app(using Msal.js)

I am trying to get key vault secrets in my Azure account. I am using Msal.js for that. I can successfully log in to my app with azure but while I am trying to get secret. Here is my function to get ...
Süleyman Türker Güner'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
0 answers
90 views

AADB2C90085 error every time user is redirected to applicaiton

We are using custom policies for user flow for our app. Every time when user completes the flow, they are redirected back to /setting page from where the policy was actually triggered. However, every ...
dani's user avatar
  • 13
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
3 votes
0 answers
244 views

Redirecting to Microsoft account selection after logout, how to skip Microsoft account popup and directly redirect to logout?

I'm currently facing an issue with the logout functionality in my web application. After clicking on the logout button, instead of immediately redirecting to the logout page, I'm being redirected to a ...
user19141723's user avatar
2 votes
0 answers
667 views

show the Microsoft Login page instantly when using msal for angular

MSAL library is used with Angular 15, every controller is protected with the MsalGuard in the app-routing file as follows: const routes: Routes = [ { path: 'protected-component', component: ...
Semen Shekhovtsov's user avatar
0 votes
1 answer
413 views

The app is asking for consent twice in "app calls api" scenario

I'm using two app registrations and implement the "expose an api" scenario. My CLIENT_APP is an angular application using msal-angular library. My SERVER_APP is a .NET server that's using &...
devmiles.com's user avatar
0 votes
1 answer
597 views

LoginRedirect with prompt='create' not working in Angular Msal

I am trying to redirect the user directly to the sign-up (user creation) flow. Following the MS docs it should be possible by specifying prompt="create". https://learn.microsoft.com/en-us/...
Marian Simonca's user avatar
0 votes
1 answer
889 views

The nodejs console application fails to obtain an AD token while a similar .NET app does not

I have the following configuration in place (the actual values are masked) in a .NET 6.0 console application that obtains AD tokens successfully: { "Tenant": "MASKED", //this is ...
Arash's user avatar
  • 4,040
0 votes
1 answer
925 views

Upgrading from Azure MSAL to MSAL 2.0

Trying to upgrade from the @Azure/MSAL library to the latest v2 of MSAL.js 2.0 but getting the following error: Network request failed: If the browser threw a CORS error, check that the redirectUri is ...
sevenam's user avatar
  • 612
4 votes
1 answer
7k views

How to redirect a user when the access token expires in MSAL for Angular?

I want to make sure that the user of a Single Page Application gets redirected back to the login page when the access token expires. As far as I understand MSAL automatically refreshes the access ...
MikhailRatner's user avatar
1 vote
0 answers
423 views

MSAL redirects when web api is called in Angular Application

I am using B2c with an Angular application hosted in Azure Storage Static Website and an Angular functions application. Using the code below I can see that I appear to be logged in. Where isLoggedIn = ...
Xander's user avatar
  • 9,141
2 votes
1 answer
8k views

MSAL - MsalGuard on Redirect URI - getting into redirect loop

I'm implementing msal in my angular application and I'm using msal-v1 library. I have taken angular-7 sample from the documented samples and tried implementing the below code in my enterprise ...
RealSteel's user avatar
  • 1,911

15 30 50 per page