cloudflare-pages-auth
cloudflare-pages-auth copied to clipboard
Basic Authentication for Cloudflare Pages
cloudflare also caches the content of the authentication page in some cases, this should prevent the case
Hi, I've noticed it's possible to bypass the login page and to see the page index without authenticating by adding `/cfp_login` to the url to access the route directly. Is...
I'd like to be able to send a URL like https://some.pages.dev?auth=password which lets the user bypass the login screen. This feature would help remove some friction when I have a...
Hello, Thank you for your article and this code. I'm having a bit of a trouble getting it to work though. I'm using SvelteKit with the cloudflare adapter and I...
Hi, thanks for making this. This is exactly what I was looking for, but I can't make it work. I copied functions folder into root of my site and uploaded...
First, thank you very much for your work - this kind of password protection is really handy for most cases. I used the `vite-plugin-pwa` to make my Vue App as...
Closes https://github.com/Charca/cloudflare-pages-auth/issues/9 Instead of including `/cfp_login` in the CFP_ALLOWED_PATHS list, we check to ensure it matches that path AND is using a POST request.
**Description:** When trying to access an image directly (e.g., ogp.png), even after successfully logging in, I am redirected back to the login screen instead of being able to view the...
Resolves #12