Improper Redirect after authentication in Access

So I put the admin panel for my site behind cloudflare access. I authenticate to cloudflare access successfully but I get an error saying the site is redirecting improperly.

Any ideas how to fix this so I can actually access it?

EDIT: seems the issue has since resolved itself.