Angular 18 falsely throwing a routing error, despite the routes previously working fine
Background:
I’m integrating a login component that includes Google authentication. Upon successful authentication, user information is obtained, a token is generated, and then sent to the backend for processing. Here’s the relevant TypeScript code: