Integrations · Forgejo

Sign in to Forgejo with Google or a passkey

The MyLogin.world Bridge runs next to Forgejo and sets it up to sign in through MyLogin.world. People choose Forgejo’s sign-in button, use Google or a passkey, and come back signed in. Forgejo keeps its own accounts and permissions.

  1. 1

    Add the Forgejo address

    In your dashboard, choose Add a service › Forgejo and enter the address you open Forgejo at, such as http://192.168.1.30:3000. The command in step 2 fills in as you type.

  2. 2

    Run on the Forgejo host Version 2.0.0

    Run as root on the host where Forgejo runs. It installs the MyLogin.world Bridge for Forgejo and configures Forgejo, 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 On your first sign-in, confirm your Forgejo password once to link your account.

  3. 3

    Open Forgejo and sign in

    Choose “Sign in with MyLogin.world” on the Forgejo sign-in page.

If something fails

On the host, mylogin-oidc forgejo status shows the bridge and its sign-in address, and mylogin-oidc configure forgejo sets Forgejo up again. docker logs mylogin-forgejo (or journalctl -u mylogin-oidc@forgejo) shows every request and why a sign-in was refused.

Still stuck? Send us the output: support@mylogin.world.compas.cs.stonybrook.edu.