Skip to content

TopSecret redirects to login on browser page refresh (F5) #16

Description

@priyank89patel

Hello Mark,
Thank you for sharing this wonderful repository with everyone, it has been a great learning experience.

I was playing around with the repository and noticed that after successful login when I browse to the Top Secret page/component using the link in the header it works fine as expected, after that if I do a page reload using the browser refresh button or F5 then I am redirected to the login page.

For some strange reason the canActivate method in the auth.guard.ts file returns false when the page is reloaded.

image

Any suggestions to resolve this?

Thank you :)

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions