Trying to secure a CF pages site with custom auth; getting "too many redirects" error
I'm trying to use ZeroAuth to protect access to a site that's hosted on CF pages. However, instead of the default email OTP code, I've set up a custom auth server that I'd like to use. But after successfully logging in, I get a "too many redirects" error instead of the page loading.
Note: This happens both on the custom domain as well as the
.pages.dev
.pages.dev
one, but fwiw the .pages.dev site will load fine if you manually reload it after logging in and getting that above error.