docs/docs/content/oidc.md
Listmonk supports single sign-on with OIDC (OpenID Connect). Any standards compliant OIDC provider can be configured in Settings -> Security -> OIDC
If Settings -> Security -> OIDC -> Auto-create users is turned on, when users login via OIDC, an account is auto-created if an existing account is not found (based on the OIDC e-mail ID).
Tutorials for configuring listmonk SSO with popular OIDC providers.
Keycloak configuration for listmonk SSO integration.
In the Keycloak admin, use an existing realm, or create a new realm. Create a new client in Clients → Create.
OpenID Connectlistmonk (or any preferred name)https://listmonk.yoursite.com/auth/oidcAfter the client creation steps above, go to the client's Credentials tab and copy the Client Secret.
https://keycloak.yoursite.com/realms/{realm} (replace {realm} with the chosen realm name). This URL is as of v26.3 and may differ across Keycloak versions.Login with OrgNamelistmonkAuthentik configuration for listmonk SSO integration.
In the Authentik admin interface, create a new OIDC provider for listmonk.
listmonk (or any preferred name)authentik Self-signed CertificateConfidentiallistmonk (or any preferred name)https://listmonk.yoursite.com/auth/oidcAfter creating the provider, copy the Client Secret.
Create a new application and connect it to the newly created provider.
listmonk (or any preferred name)listmonk (or any preferred slug. Used in the redirect URL)In listmonk Admin → Settings → Security → OIDC:
https://authentik.yoursite.com/application/o/{slug}/ (replace {slug} with the application's slug)Login with OrgName)listmonk)Google Workspace (Google Cloud) configuration for listmonk SSO integration.
In the Google Cloud Console interface, create a new Project.
Listmonk (or any preferred name)Listmonk (or any preferred name, this will be visible to the users.)listmonk.example.com (or domains that your instance is available on.)After creating the project, goto Clients.
Create a new client and configure it.
Web applicationlistmonk (or any preferred name)https://listmonk.example.com (or domains that your instance is available on.)https://listmonk.example.com/auth/oidc (or domains that your instance is available on, value is also available in the Settings mentioned above. (Redirect URL for oAuth provider))Hit save and note the Client ID and Client Secret
In listmonk Admin → Settings → Security → OIDC:
https://accounts.google.com (select Google to Auto-Fill)Login with OrgName)XXXX.apps.googleusercontent.com)