Google sign-in
You need permission to create a Google OAuth client, and access to thetembo namespace.
- In the Google Cloud console, open Google Auth Platform and set up your app. Choose Internal under Audience to allow only your Google Workspace’s users.
-
Under Clients, create a client of type Web application, with the authorized redirect URI
https://<your-host>/api/auth/callback/google. -
Save the client secret when Google first shows it, then store it with the client ID in a Secret:
-
Add it to your
values.yamland apply the change:
GitHub sign-in and connected accounts
The GitHub App connects repositories. GitHub sign-in and Settings > Connected accounts > Connect GitHub need separate settings, but can reuse the app’s client ID and secret:-
In the app’s settings, add
https://<your-host>/api/auth/callback/githubas another callback URL. Keep/api/oauth/github/callbacktoo. - Set the app’s Account permissions > Email addresses to Read-only. Users approve this when they authorize the app.
-
Create a Secret whose keys are config paths:
-
Add it to
configSecretsin your values, keeping any existing entries, and apply the change:
Sign-in and registration
Set these keys underconfig in your Helm values:
For example, to allow only Google sign-in, once it works:
account_not_linked when switching to OAuth, keep their password sign-in on and contact support. Self-hosted email and password accounts aren’t email-verified automatically, which can prevent automatic linking.