Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Navigating under an expired session results in 404 rather than redirect to login #527

Closed
danwdart opened this issue Oct 9, 2018 · 4 comments

Comments

@danwdart
Copy link
Contributor

danwdart commented Oct 9, 2018

Expected behavior

I've tried to access something I no longer have the cookies for, so I should be expected to log in.

Actual behavior

Every route 404s,

Steps to reproduce the problem

Remove cookies from current session or wait for their expiry, then click a menu item and observe it 404s.

Package details

Latest publish

@eduardoboucas
Copy link
Contributor

What route are you seeing the 404 in? When I remove the cookie, routes actually work the same because the token is cached in the Redux store.

@danwdart
Copy link
Contributor Author

Every route, this is when my session has expired.

@mingard mingard changed the title Navigating using menu without cookie 404s all routes, should show login box Navigating under an expired session results in 404 rather than redirect to login Nov 9, 2018
@eduardoboucas
Copy link
Contributor

This should have been fixed with #535. Could you please re-open if still an issue? Thanks!

@eduardoboucas
Copy link
Contributor

The issue is still there if the user's machine goes to sleep and then wakes up after the token has expired.

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

No branches or pull requests

2 participants