Venolio

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
Google 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.

Google

  1. In the Google Cloud Console, open APIs & Services.
  2. Configure the OAuth consent screen: user type Internal (only your Google Workspace organisation) or External, with the scopes openid, email and profile.
  3. Under Credentials, choose Create credentials → OAuth client ID → Web application.
  4. Under Authorized redirect URIs, add the redirect address for sign-in (and the ones for the Google integrations you use).
  5. 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

  1. In the Microsoft Entra admin center, open App registrations → New registration.
  2. 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.
  3. Add the platform Web with the redirect address for sign-in.
  4. Under Certificates & secrets, create a client secret and copy its value.
  5. Under Token configuration, add the optional ID token claims email and xms_edov. Without them, work addresses do not match Venolio accounts and people must link Microsoft from their own settings first.
  6. In Venolio, under Sign in with Microsoft, enter the application (client) ID, the secret and the Tenant: common, organizations, consumers or your directory (tenant) ID.

GitHub

  1. In GitHub, open Settings → Developer settings → OAuth Apps → New OAuth App (for your account or your organisation).
  2. Set Homepage URL to your PUBLIC_URL and Authorization callback URL to the GitHub redirect address above.
  3. Generate a client secret.
  4. 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:

  1. Create a confidential web client (an “OpenID Connect app”) for Venolio.
  2. Set its redirect address to https://venolio.example.com/api/auth/oidc/callback.
  3. Allow the authorization code flow with PKCE (S256), and client authentication with client_secret_basic or client_secret_post.
  4. Make sure the ID token carries a verified e-mail address.
  5. 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_URL must be your real https:// address, with SECURE_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.