Lembos 0.0.1 is out. Pre-1.0. Try it.

Lembos

Sign in with GitHub

Let your GitHub organisation's members sign in to Lembos.

Lembos does not let people register themselves. Accounts come from an invitation, or — with this integration — from membership of your GitHub organisation.

1. Create a GitHub App

Create a GitHub App owned by your organisation and install it there. It provides two pairs of credentials with two different jobs:

CredentialsUsed for
App ID and private keyReading your organisation's members
Client ID and client secretSigning people in

They belong to the same App and are easy to mix up: using the client credentials to read members fails with a 401 that names neither.

Set the App's callback URL to https://identity.<your domain>/connect/callback/login/github.

2. Give Lembos the credentials

Put the five values in a Secret you manage and name it in secrets.gitHub.existingSecret, or set them inline:

platform:
  integrations:
    gitHub:
      enabled: true

secrets:
  gitHub:
    existingSecret: lembos-github   # keys: github-app-id, github-app-org,
                                    # github-private-key-base64, github-client-id, github-client-secret

github-app-org may list several organisations, separated by commas.

Membership of any listed organisation grants a Lembos account. List only organisations whose membership means "works here" — a public one that accepts outside contributors would hand accounts to strangers.

3. Upgrade

helm upgrade lembos oci://ghcr.io/lembosproj/charts/lembos --version 0.1.0 -n lembos -f values.yaml

The sign-in page now offers GitHub.

On this page