Authentication & SSO
Synclet supports multiple authentication methods: email and password for quick setup, OpenID Connect (OIDC) for enterprise single sign-on, and API keys for programmatic access.
Email & Password
Section titled “Email & Password”Email and password is the default authentication method. When you first access Synclet, you can create an account from the login page.
- Open the Synclet web UI in your browser.
- Click Create account.
- Enter your email address, your name, and choose a password (minimum 8 characters by default — configurable via
AUTH_MIN_PASSWORD_LENGTH). - Submit the form. You are logged in and can start creating workspaces.
The first user to register is automatically assigned the Admin role on the default workspace.
Single Sign-On (OIDC)
Section titled “Single Sign-On (OIDC)”Synclet supports any OpenID Connect identity provider, including Google, Okta, Auth0, Keycloak, and Azure AD. You can configure multiple providers simultaneously.
Configuration
Section titled “Configuration”OIDC setup requires two steps: (1) list the providers you want to enable, and (2) set per-provider credentials.
Step 1: Declare providers
Set AUTH_OIDC_PROVIDERS to a comma-separated list of provider slugs, and AUTH_OIDC_CALLBACK_BASE_URL to your public Synclet URL:
AUTH_OIDC_PROVIDERS="google,okta"AUTH_OIDC_CALLBACK_BASE_URL="https://synclet.example.com"Step 2: Configure each provider
For each slug listed in AUTH_OIDC_PROVIDERS, set the following environment variables (replace <SLUG> with the uppercase slug):
| Variable | Description | Required |
|---|---|---|
AUTH_OIDC_<SLUG>_ISSUER | The OIDC issuer URL | Yes |
AUTH_OIDC_<SLUG>_CLIENT_ID | OAuth 2.0 client ID | Yes |
AUTH_OIDC_<SLUG>_CLIENT_SECRET | OAuth 2.0 client secret | Yes |
AUTH_OIDC_<SLUG>_DISPLAY_NAME | Button label on login page | No (defaults to slug) |
AUTH_OIDC_<SLUG>_SCOPES | Comma-separated scopes | No (defaults to openid,profile,email) |
AUTH_OIDC_<SLUG>_ALLOWED_DOMAINS | Restrict to email domains | No |
AUTH_OIDC_<SLUG>_AUTO_CREATE_USER | Create user on first login | No (defaults to true) |
AUTH_OIDC_<SLUG>_DEFAULT_ROLE | Role for new OIDC users | No (defaults to viewer) |
AUTH_OIDC_<SLUG>_ROLE_CLAIM | Claim to use for role mapping | No |
AUTH_OIDC_<SLUG>_ROLE_MAP_ADMIN | Claim value → Admin role | No |
AUTH_OIDC_<SLUG>_ROLE_MAP_EDITOR | Claim value → Editor role | No |
AUTH_OIDC_<SLUG>_ROLE_MAP_VIEWER | Claim value → Viewer role | No |
Example: Google
Section titled “Example: Google”AUTH_OIDC_PROVIDERS="google"AUTH_OIDC_CALLBACK_BASE_URL="https://synclet.example.com"AUTH_OIDC_GOOGLE_ISSUER="https://accounts.google.com"AUTH_OIDC_GOOGLE_CLIENT_ID="123456789.apps.googleusercontent.com"AUTH_OIDC_GOOGLE_CLIENT_SECRET="GOCSPX-xxxxxxxxxxxxxxxx"AUTH_OIDC_GOOGLE_DISPLAY_NAME="Google"AUTH_OIDC_GOOGLE_ALLOWED_DOMAINS="yourcompany.com"Example: Multiple providers (Google + Okta)
Section titled “Example: Multiple providers (Google + Okta)”AUTH_OIDC_PROVIDERS="google,okta"AUTH_OIDC_CALLBACK_BASE_URL="https://synclet.example.com"
# GoogleAUTH_OIDC_GOOGLE_ISSUER="https://accounts.google.com"AUTH_OIDC_GOOGLE_CLIENT_ID="123456789.apps.googleusercontent.com"AUTH_OIDC_GOOGLE_CLIENT_SECRET="GOCSPX-xxxxxxxxxxxxxxxx"
# OktaAUTH_OIDC_OKTA_ISSUER="https://your-org.okta.com"AUTH_OIDC_OKTA_CLIENT_ID="0oaXXXXXXXXXXXXXXX"AUTH_OIDC_OKTA_CLIENT_SECRET="your-client-secret"AUTH_OIDC_OKTA_DISPLAY_NAME="Company SSO"When OIDC is configured, a Sign in with … button appears on the login page for each provider. Users who sign in through OIDC for the first time have an account created automatically (unless AUTO_CREATE_USER is set to false).
Disabling Registration
Section titled “Disabling Registration”Once your team is onboarded, you can prevent new sign-ups by setting:
AUTH_REGISTRATION_ENABLED=falseThis blocks new email/password registrations. Existing users and OIDC logins are not affected — users who authenticate through an OIDC provider can still sign in and have accounts created on first login.
API Keys
Section titled “API Keys”API keys allow programmatic access to the Synclet API, useful for CI/CD pipelines, scripts, and integrations.
Creating an API Key
Section titled “Creating an API Key”- Navigate to Settings > API Keys in the workspace you want to access.
- Click Create API Key.
- Give the key a descriptive name (e.g.,
ci-pipelineorterraform). - Copy the key immediately — it is only shown once.
Using an API Key
Section titled “Using an API Key”Include the key in the Authorization header of your HTTP requests:
curl -H "Authorization: Bearer synclet_sk_your_api_key_here" \ https://synclet.example.com/api/v1/connectionsRevoking an API Key
Section titled “Revoking an API Key”- Go to Settings > API Keys.
- Find the key you want to revoke.
- Click Revoke and confirm.
Revoked keys stop working immediately. Any automation using the key will begin receiving 401 Unauthorized responses.
Session Management
Section titled “Session Management”Synclet uses cookie-based sessions for authentication.
- Access token cookie (
synclet_at) is short-lived (15 minutes by default, configurable viaAUTH_ACCESS_TOKEN_TTL) and sent automatically with every request from the web UI. It isHttpOnlyand not accessible to JavaScript. - Refresh token cookie (
synclet_rt) allows the browser to obtain new access tokens without re-entering credentials. - A metadata cookie (
synclet_auth) is readable by JavaScript and contains token expiration timestamps so the frontend can proactively refresh tokens. - Sessions persist across browser restarts until the refresh token expires (7 days by default, configurable via
AUTH_REFRESH_TOKEN_TTL) or is revoked.
To log out, click your avatar in the top-right corner and select Log out. This clears your session cookies and invalidates the refresh token.
Next Steps
Section titled “Next Steps”- Workspaces & Roles — Learn about multi-tenant workspaces and role-based access.
- Settings & API Keys — Manage workspace settings, members, and API keys.
- Configuration — Full list of environment variables including OIDC and registration settings.
Airbyte is a trademark of Airbyte, Inc. Synclet is not affiliated with, endorsed by or sponsored by Airbyte, Inc. Connector images keep their own licenses: see Connector licenses.