Hi! I’m trying to use the Cloudflare Access plugin to validate JWTs in a Pages project, but as soon as i enable the plugin, i get stuck in a redirect loop, with all the responses having the 302 status code. The redirect loop looks like this:
custom-domain.com
access-team.cloudflareaccess.com/cdn-cgi/access/login/custom-domain.com?kid=kid&redirect_url=%2F
custom-domain.com/cdn-cgi/access/authorized?nonce=nonce
custom-domain.com
access-team.cloudflareaccess.com/cdn-cgi/access/login/custom-domain.com?kid=kid&redirect_url=%2F
custom-domain.com/cdn-cgi/access/authorized?nonce=nonce
Without the plugin, everything works fine, even with Cloudflare Access enabled. It would be awesome if someone could help me with this. Thanks!