Infinite redirect loop in Chrome on Mac OS X
Open
- Dominant language
- TypeScript
- Stars
- 2.3k
- Forks
- 348
- PR merge metrics
- No merged PRs in 30d
Description
When using with Cloudflare Access in Chrome, I've experienced infinite redirect loop when trying to refresh page after the first visit. Removing addOneDay and just comparing based on the current date (token not yet expired) fixes the problem. Is there a reason why we need to ensure that expiration is one day in the future? I thought that will depend on the application configuration and should not always be the case.
https://github.com/cloudflare/orange/blob/49cb2ccba6e76b4b1015de9546d3eb46779a7885/app/root.tsx#L62
Contributor guide
Assessment
This issue has not been assessed yet.