Unlatch GitHub

Unlatch

Unlatch is a single sign-on server you host yourself. It speaks OpenID Connect, so people sign in once and can then use every service you connect to it, such as Grafana, Forgejo or Nextcloud. It is written in Rust with few dependencies and runs as one binary with one SQLite file.

Unlatch is young: it hasn't been audited or certified yet.

The sign-in page

Applications in the web interface

Features

Getting started

Download a release, install it with cargo install --locked unlatch, or build it with cargo build --release. To try it on this machine:

(umask 077; unlatch generate-key > key)
UNLATCH_ISSUER=http://localhost:8080 UNLATCH_KEY_FILE=key unlatch

Then open the link from the log, which creates the first administrator. The administrator then connects applications and invites people in the web interface.

Documentation

Development

License

MIT