Sign in to Harbor with Google or a passkey
The MyLogin.world Bridge runs next to Harbor and sets it up to sign in through MyLogin.world. People choose Harbor’s sign-in button, use Google or a passkey, and come back signed in. Harbor keeps its own accounts and permissions.
- 1
Add the Harbor address
In your dashboard, choose Add a service › Harbor and enter the address you open Harbor at, such as https://192.168.1.30. The command in step 2 fills in as you type.
- 2
Run on the Harbor host Version 2.0.0
Run as root on the host where Harbor runs. It installs the MyLogin.world Bridge for Harbor and configures Harbor, asking before any restart. Linux. Uses Docker when the host has it, otherwise a systemd service.
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-oidc-2.0.0-linux-amd64b015340b12b1910f487ea32a4aa682944c669abfd409062fa057b9ce449112af64-bit ARMarm64mylogin-oidc-2.0.0-linux-arm641d486bb9f6c505b257f80785fe60ec458af4a41ec1b35ecd76405b007de5547632-bit ARMarmv7mylogin-oidc-2.0.0-linux-armv79898e853d9414b0e5100e5cedcdb97c4eda8a5b71f711864d11cab162b09672cIf the address leads to another machine, such as a proxy, add --host and this host’s address.
Then Harbor switches only while admin is its only user. After your first sign-in, make yourself an administrator.
- 3
Open Harbor and sign in
Choose “LOGIN VIA OIDC PROVIDER” on the Harbor sign-in page.
If something fails
On the host, mylogin-oidc harbor status shows the bridge and its sign-in address, and mylogin-oidc configure harbor sets Harbor up again. docker logs mylogin-harbor (or journalctl -u mylogin-oidc@harbor) shows every request and why a sign-in was refused.
Still stuck? Send us the output: support@mylogin.world.compas.cs.stonybrook.edu.