Thomas Norling

Results 80 comments of Thomas Norling

@EvgenStudent Looks like you've configured a `loginFailedRoute` on your `MsalGuard` which is redirecting you back to the homepage when you've clicked the cancel button. What is the behavior you expect...

@EvgenStudent Thanks for clarifying. I was able to reproduce this behavior and agree this is something we can and should improve. I've marked this as a bug and added an...

> Just for clarification on your suggestion. You are suggesting we rebuild the MSAL Guard and add the catchError on the handleRedirectObservable? Correct. The current behavior of the MSAL Guard...

It indicates that loginPopup or loginRedirect/handleRedirectPromise threw an error which resulted in the user not being logged in

You can write your own hook to do this using the event callback and then use this hook in any components that depend on specific account properties and should be...

Marking as a feature, feel free to open a pull request if you need this resolved sooner rather than later.

Are folks still facing this issue with the latest versions? If so, please share a minimal reproduction.

@gitmurali We unfortunately do not support token acquisition during server-side rendering for SPA apps today. I've added a feature to our backlog to take this under consideration.

If you are purely acquiring tokens server-side I suppose you could use msal-node but that would defeat the purpose of SSR, no? When I think about SSR support I'm thinking...

If you're doing purely server side auth you should set up msal as a [Confidential Client](https://github.com/AzureAD/microsoft-authentication-library-for-js/blob/dev/lib/msal-node/docs/initialize-confidential-client-application.md)