Dashboard Login Pass
The project source codes are made publicly viewable.
So it would be better if the admin panel entry is encrypted.
There may be something I missed, if there is a link to it, can you share it?
or
An idea to add a new feature to the project.
Thanks
I've been wanting this too, and in the Cloudflare workers documentation there are some examples on basic authentication. Haven't pieced together how to make it work for Counterscale yet though.
It's true that today Counterscale depends on being deployed on a publicly-accessible URL. There is no authentication or user/login today.
But I agree this is important and consider it a high priority.
Something to check https://dev.to/charca/password-protection-for-cloudflare-pages-8ma. @benvinegar this actually worked, but for the entire project, but I am not sure if it affects data collection? So, I removed it for now.
It can be achieved by using Cloudflare Zero Trust without touching the code. You can setup an Access Application that points to the dashboard path and only add authentication to the page. Here is a tutorial I found for just that. https://runcloud.io/blog/wordpress-login-pages-cloudflare-zero-trust#step-3-configure-the-application
For visibility, I'm working on single user auth for the dashboard in #202. Aiming to ship it in the next release!
Will be included in 3.2.0 - already available in pre-release version 3.2.0-beta.0