Integrations · Harbor

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. 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. 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

    If 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. 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.