Angular OAuthService breaks the app when goes back from the Google authentication page without...

Discussão em 'Angular' iniciado por Alejandro Guajardo, Junho 6, 2025.

  1. I'm using OAuthService angular-oauth2-oidc in an angular 19 project to validate the user against Google before login against my own api.

    The problem comes when I press the button to redirect to the google authentication page (which is basically use the oAuthService.initImplicitFlow()) and then, instead of proceed with the authentication process, I go back using the browser go back arrow, the browser loads back my angular app but the button to authenticate stops working.

    Most weird, this only happens in the builded project, not in development.

    Continue reading...

Compartilhe esta Página