Teable supports OIDC single sign-on, allowing you to easily integrate Teable with external systems for user authentication and authorization.
BACKEND_OIDC_CLIENT_ID
: Client ID provided by the OIDC provider for Teable.BACKEND_OIDC_CLIENT_SECRET
: Client secret provided by the OIDC provider for Teable.BACKEND_OIDC_CALLBACK_URL
: Teable’s callback URL. Set to https://app.teable.io/api/auth/oidc/callback. Ensure this matches the callback URL registered with your OIDC provider.BACKEND_OIDC_USER_INFO_URL
: Endpoint URL for retrieving user information from the OIDC provider.BACKEND_OIDC_TOKEN_URL
: Endpoint URL for obtaining access tokens from the OIDC provider.BACKEND_OIDC_AUTHORIZATION_URL
: Endpoint URL where users authenticate with the OIDC provider.BACKEND_OIDC_ISSUER
: Identifier URL of the OIDC provider.BACKEND_OIDC_OTHER
: Additional OIDC configuration options in JSON format. In this example, we request “email” and “profile” scopes.SOCIAL_AUTH_PROVIDERS
environment variable:
BACKEND_OIDC_CALLBACK_URL
. The format should be:BACKEND_OIDC_CLIENT_ID
BACKEND_OIDC_USER_INFO_URL
BACKEND_OIDC_TOKEN_URL
BACKEND_OIDC_AUTHORIZATION_URL
BACKEND_OIDC_ISSUER
BACKEND_OIDC_CLIENT_SECRET
in Teable environment variables..env
file with these values. Your configuration should look something like this:
your-teable-domain.com
and your-authentik-domain.com
with your actual domain names.
Following these steps, you should have successfully configured Authentik as an OIDC provider for your Teable application. Make sure to restart your Teable application after updating the environment variables for the changes to take effect.