Is it possible to use CF Access login from local wrangler pages dev?
I have a Pages site with a path protected by Access, and I've added the access plugin middleware to my Pages Functions worker. This works just fine when pushed up to prod, but is there any way to set up Access to work even for localhost so I can develop without pushing up to a real server?
Wrangler has no idea which parts of my Pages site are gated by Access, and the redirect login URL when trying to access the middleware protected function results in a CORS error. If I ignore that and manually open the URL with the 127.0.0.1 origin, it gives me "Invalid redirect URL", which makes sense.
I can't seem to dig up anyone else that's attempted to use Access alongside
Wrangler has no idea which parts of my Pages site are gated by Access, and the redirect login URL when trying to access the middleware protected function results in a CORS error. If I ignore that and manually open the URL with the 127.0.0.1 origin, it gives me "Invalid redirect URL", which makes sense.
I can't seem to dig up anyone else that's attempted to use Access alongside
wrangler pages dev.