orange icon indicating copy to clipboard operation
orange copied to clipboard

Infinite redirect loop in Chrome on Mac OS X

Open phpb-com opened this issue 6 months ago • 3 comments

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

phpb-com avatar Aug 17 '24 22:08 phpb-com