authService.loginWithPopup() works, authService.loginWithRedirect() does not. Anuglar 10


Currently trying to retrofit an existing Angular 10 application with Auth0, but I’m experiencing inconsistent behavior with authService.isAuthenticated$ after successfully authenticating. When I use loginWithPopup() isAuthenticated$ works as expected, but when I use loginWithRedirect(), isAuthenticated$ always returns false – even with significant delay.

Is there any known difference between popup and redirect that would cause this? I’ve gotten the demo to work as expected, so it’s clearly something with how my existing app is configured, but I can’t find any discernible difference between the sample app and my existing app that would cause isAuthenticated$ to always return false after successfully authenticating via loginWithRedirect.