Cloudflare access error on login

Hello

I have Cloudflare access set up in front of some of my domains. The purpose is to require users to go through the access zero trust layer before being able to access my webapp…

20% of the time when I log in, I get the following error on the log in page after a successful login. This appears on the access page (i.e. making me think its a redirect/call back issue): Invalid login session. Please try going to the URL of your application.

When I visit the domain of my webapp it all works fine - no need to go through access again etc.

I don’t think it’s a cache issue but im a bit at a loss as to what else could be causing this intermittent error. Any suggestions?