Questions tagged [msal-angular]

172 questions
0
votes
1 answer

Handling errors in MSAL Redirect - Angular

We are currently trying to catch an error, when a user with a company Azure AD Account tries to access the application, but does not have access to the tenant where the application resides (Multi-tenant authorization has been setup on the app). The…
0
votes
0 answers

Implement handleRedirectPromise of msal-angular

When user accessed our web app through direct URL for example 'localhost.com/profile/myaccount' user is being navigated to microsoft login after successful authentication being redirected to 'localhost.com' instead of requested URL i.e…
0
votes
1 answer

where does msal-node store its tokens?

I am working on enabling SSO for one of our apps. I am using the NodeJS MSAL-node module. I am using the authorization code flow. It works fine but I don't see anything stored in cookies, local storage or session storage. My question is where does…
F. K.
  • 694
  • 3
  • 9
  • 23
0
votes
0 answers

Angular - MSAL login throws error on login button click

I've been using login from MSAL on Angular and today it started throwing an error when I click on the login button. Already reinstalled all dependencies and nothing seems to work. core.mjs:9157 ERROR Error: Uncaught (in promise): TypeError:…
Gonçalo C
  • 11
  • 2
0
votes
1 answer

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…
Marian Simonca
  • 1,472
  • 1
  • 16
  • 29
0
votes
1 answer

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 the same as tenantId "ClientSecret": "MASKED", "Scope":…
Arash
  • 3,628
  • 5
  • 46
  • 70
0
votes
0 answers

MSAL logoutRedirect leads to being stuck on iPhone/Safari (network request not finishing)

We have a WebApp developed with Angular 14. It is deployed on Azure Blob Storage (static website). Authentification is done with the msal library for javascript. Azure AD B2C is used as identity provider. To logout we use the method…
0
votes
0 answers

websocket connection from polyfills is making an insecure connection and forcing a TLS upgrade

I found a bug in my Angular 14 upgrade that gets into an infinite redirect loop when logging in, Looks like a websocket connection from polyfills is making an insecure connection and forcing a TLS upgrade. When I try to start the Angular 14 project…
0
votes
1 answer

How do I verify the token I receive from logging into my Angular App (Azure AD / MSAL) when making an API HTTP request to NodeJS?

Currently where I am is this. I followed the Microsoft documentation to where a user can login to Angular front end via Azure Active Directory. I followed this tutorial:…
0
votes
0 answers

How to remove Continue button from MSAL email verification page while signup

I am using MSAL angular. I need to remove the Continue button from email verification page.
Sahil Chahal
  • 94
  • 1
  • 5
0
votes
0 answers

Angular 14 Loading different modules with same route with MSAL V2

I am wanting to have the same route '' that loads a different module based on whether or not the user is logged in. I am using MSAL v2 with azure ad to authenticate the user. I followed this example but unfortunately it does not work as expected, I…
ajm0803
  • 1
  • 1
0
votes
0 answers

Cannot navigate from external link into my application

I apologize for my lack of code as I am not even sure where to begin. I recently took ownership of an angular and .net application. One of the first requests I have been given from some of the stakeholders is that they wished to get email…
0
votes
1 answer

Error code: AADB2C90261 - Azure B2C/Captcha related Error on Sign Up

I am trying to sign up the users using Azure B2C(by doing this I am using MSAL with Angular), by mail confirmation, captcha v2(google) and MFA. For the first attempt I used just a normal sign up with the email and afterwards with MFA and had no…
SilviuM
  • 79
  • 9
0
votes
0 answers

Dynamic configuration of MSAL 2 in Angular inside the component

I am using MSAL for Angular 2.0 (following this - example from AzureAD) and my problem is that I would need to change the MSAL configuration (clientId, authority, etc) depending on a parameter inside my Angular component. Is it possible to set these…
Ivo
  • 43
  • 5
0
votes
0 answers

How to stop redirection to login page in MSAL .js after signing out in an angular single page application?

I want my application to stop redirection after signing out from azure ad. After choose an account popup, I want my application to stop at the next page which is You are signed out of your accounts but due to post_logout_redirect_uri parameter of…