Register sign-in apps
Self-hosting
Sign-in with Google, Microsoft and GitHub, single sign-on and the integrations each need an app registered with the provider. You register the app at the provider, then paste its client ID and secret in Venolio. Which settings to fill in is in Sign-in and single sign-on.
All addresses below start with your PUBLIC_URL (shown here as https://venolio.example.com),
without a trailing slash. Register them exactly. The desktop and Android apps use the same
addresses: nothing extra is registered for them.
Redirect addresses
Sign-in
| Provider | Redirect address | Scopes Venolio asks for |
|---|---|---|
https://venolio.example.com/api/auth/sso/google/callback |
openid email profile |
|
| Microsoft | https://venolio.example.com/api/auth/sso/microsoft/callback |
openid email profile |
| GitHub | https://venolio.example.com/api/auth/sso/github/callback |
read:user user:email |
| Your OpenID Connect provider | https://venolio.example.com/api/auth/oidc/callback |
openid email profile |
Integrations
These apps let people connect their own calendars, mailboxes, Google Drive and Slack. Enter their client IDs and secrets in Settings → Integrations.
| Integration | Redirect address |
|---|---|
| Google Calendar | https://venolio.example.com/api/calendar-oauth/google/callback |
| Microsoft calendar | https://venolio.example.com/api/calendar-oauth/microsoft/callback |
| Gmail | https://venolio.example.com/api/mail/oauth/gmail/callback |
| Outlook mail | https://venolio.example.com/api/mail/oauth/microsoft/callback |
| Google Drive | https://venolio.example.com/api/integrations/oauth/drive/callback |
| Slack | https://venolio.example.com/api/integrations/oauth/slack/callback |
One app at a provider can hold several redirect addresses, for example one Google app for sign-in, Calendar, Gmail and Drive; Venolio still asks for the client ID and secret in each place it is used.
- In the Google Cloud Console, open APIs & Services.
- Configure the OAuth consent screen: user type Internal (only your Google Workspace
organisation) or External, with the scopes
openid,emailandprofile. - Under Credentials, choose Create credentials → OAuth client ID → Web application.
- Under Authorized redirect URIs, add the redirect address for sign-in (and the ones for the Google integrations you use).
- Copy the client ID and client secret into Venolio, under Sign in with Google.
Only Google accounts with a verified address that matches a Venolio account, or an invite, can sign in.
Microsoft
- In the Microsoft Entra admin center, open App registrations → New registration.
- Choose the supported account types. “Accounts in any organizational directory and personal
Microsoft accounts” fits the tenant
common; choose “this organizational directory only” for your own directory’s ID. - Add the platform Web with the redirect address for sign-in.
- Under Certificates & secrets, create a client secret and copy its value.
- Under Token configuration, add the optional ID token claims
emailandxms_edov. Without them, work addresses do not match Venolio accounts and people must link Microsoft from their own settings first. - In Venolio, under Sign in with Microsoft, enter the application (client) ID, the secret and
the Tenant:
common,organizations,consumersor your directory (tenant) ID.
GitHub
- In GitHub, open Settings → Developer settings → OAuth Apps → New OAuth App (for your account or your organisation).
- Set Homepage URL to your
PUBLIC_URLand Authorization callback URL to the GitHub redirect address above. - Generate a client secret.
- Copy the client ID and secret into Venolio, under Sign in with GitHub.
Venolio uses the GitHub account’s primary address when GitHub marks it verified, and does not keep the GitHub access token after sign-in.
This OAuth app is only for sign-in. The GitHub integration that brings repositories into Venolio is set up separately (see Git and code).
OpenID Connect (single sign-on)
Single sign-on needs a Business or Enterprise licence. Any identity provider that meets the requirements below can work; test yours with a real sign-in. In your identity provider:
- Create a confidential web client (an “OpenID Connect app”) for Venolio.
- Set its redirect address to
https://venolio.example.com/api/auth/oidc/callback. - Allow the authorization code flow with PKCE (S256), and client authentication with
client_secret_basicorclient_secret_post. - Make sure the ID token carries a verified e-mail address.
- In Venolio, under Single sign-on (OpenID Connect), enter the Issuer URL exactly as the
provider publishes it (for example
https://login.example.com/realms/company), the client ID and the client secret.
Requirements:
PUBLIC_URLmust be your realhttps://address, withSECURE_COOKIES=true.- The provider must offer OpenID discovery, and all its endpoints (authorization, token, keys) on the issuer’s own https address.
- ID tokens signed with RS256 or ES256.
- SAML, and providers that split their endpoints across different addresses, are not supported.
Single sign-on never creates accounts. Create people first, invite them, or provision them with SCIM.
Check it
Sign out, open the sign-in screen and sign in with each provider once. Settings reports whether a method is configured, not whether the provider accepts it, so a real sign-in is the test. Errors from the provider come back to the sign-in screen as a short message; the server’s log has the details.
About this part of Venolio: Your server, your data, your rules
Checked against the app on . The same help is built into the Venolio apps and works offline. Something wrong or missing? Tell us.