Sign in to Pi-hole with Google or a passkey
A small service next to Pi-hole signs in to Pi-hole’s own API with an app password only it holds, then hands your browser that session. Pi-hole is not patched and nothing is proxied.
- 1
Add the Pi-hole address
In your dashboard, choose Add a service › Pi-hole and enter the address you open Pi-hole at, such as http://192.168.1.2/admin. The command in step 2 fills in as you type.
- 2
Run on the Pi-hole host Version 1.0.0
SSH in and run it as root (sudo -i). With Docker, on the Docker host. It installs the package, creates the service in your dashboard and allows your email. Requires Pi-hole v6 on Debian, Ubuntu or Raspberry Pi OS. With Docker, run it on the Docker host.
Review the script ·Source · GPL-3.0-or-later
Download the files
The command picks the right file and checks its SHA-256. To check them yourself:
Intel or AMDamd64mylogin-pihole_1.0.0_amd64.deb11ae84c1ffd9d6e9dde4cdb34ef24c1d662820914fcbb5fbf838de4dda0ac4d164-bit ARMarm64mylogin-pihole_1.0.0_arm64.debbc868b2e0eae88704881f11ab29d611f1b662c3f5c6ea429aad8e2af8f35815132-bit ARMarmhfmylogin-pihole_1.0.0_armhf.deb2d5923f3ff065e3bda08f128017806b417dc8229bd40e58b6cebbd9a16c0b605Setup sets Pi-hole’s app password, which signs everyone out of Pi-hole once.
- 3
Sign in
This address signs you in to Pi-hole. Bookmark it.
If something fails
On the host, mylogin-pihole status shows Pi-hole’s address, whether the app password works and who may sign in; journalctl -u mylogin-pihole shows every request.
Still stuck? Send us the output: support@mylogin.world.compas.cs.stonybrook.edu.