Skip to content

armgit / kaneo

Public Imported from GitHub
0

⚡ Project management that doesn't become the project. Boards, Gantt charts, and GitHub integration. Self-host it or use Kaneo Cloud.

1.9 KB
Raw Blame
---
title: "Sign in with Google"
description: "Let people use their Google account to sign in to Kaneo."
---

This sets up sign-in for your instance. It does not connect a repository or send project notifications.

## Register the application

Open the [Google developer console](https://console.cloud.google.com/). Choose a Google Cloud project, configure its OAuth consent screen and audience, and create an OAuth client of type **Web application**. Add the address below as an authorized redirect URI. If the app is in testing, add the people who will test it to the allowed test users.

For a bundled Kaneo deployment at `https://kaneo.example.com`, the callback is:

```text
https://kaneo.example.com/api/auth/callback/google
```

Use your own hostname. If the API is hosted separately, use its public origin instead. The callback path is `/api/auth/callback/google`; do not append a second `/api` when your API URL already includes it.

For provider-specific options, see the [official OAuth guide](https://developers.google.com/identity/protocols/oauth2/web-server).

## Configure Kaneo

Add the values from the provider to your server's `.env`:

```env
GOOGLE_CLIENT_ID=your-client-id
GOOGLE_CLIENT_SECRET=your-client-secret
```

Apply the change to the bundled deployment:

```bash
docker compose up -d --force-recreate kaneo
```

## Test sign-in

Open Kaneo in a private browser window and choose the Google sign-in option. Complete authorization and confirm you return to Kaneo.

If the provider reports a redirect mismatch, compare the full URL, including the scheme, hostname, port, and path. If sign-in succeeds but joining a workspace fails, check the invitation email and instance registration settings.

## Turn it off

Remove the two environment variables and recreate Kaneo. Make sure people have another way to sign in before disabling the provider. Review [access settings](/core/installation/environment-variables#access-control) before enforcing SSO-only access.