OAuth

Browser-based one-click authentication. Recommended for most users.

Supported providers:

  • GitHub
  • GitLab
  • Gitea (gitea.com)
  • Codeberg

OAuth is only available on the hosted instances above. See OAuth for Self-Hosted Instances for why, and what to use on your own server.

Manual Authentication

Advanced options for self-hosted or custom setups that works with any self-hosted Forgejo, Gitea, GitLab or Git server.

HTTP/S

SSH

  • Authenticate with an ED25519 key pair (RSA, DSA, and ECDSA are also supported).
  • The private key can be exported for backup or import on other devices.
  • Additional key types will be supported in future releases.

See also: OAuth for Self-Hosted Instances, Repository Settings, Troubleshooting