{"record":{"id":"1c992118fc05511e","repo":"RocketChat/Rocket.Chat","slug":"service-authentication-will-require-a-premium-p","errorCode":null,"errorMessage":"${service} authentication will require a Premium plan starting on version 9.0.0. This workspace has no license covering it, so ${service} logins will stop working after the upgrade.","messagePattern":"(.+?) authentication will require a Premium plan starting on version 9\\.0\\.0\\. This workspace has no license covering it, so (.+?) logins will stop working after the upgrade\\.","errorType":"console","errorClass":null,"httpStatus":null,"severity":"warning","filePath":"apps/meteor/server/lib/premiumAuthDeprecation.ts","lineNumber":17,"sourceCode":"import type { LicenseModule } from '@rocket.chat/core-typings';\nimport { License } from '@rocket.chat/license';\n\nimport { SystemLogger } from './logger/system';\n\nconst warned = new Set<LicenseModule>();\n\n// Checked on login instead of on startup so the license is already loaded and\n// workspaces that do have the module never see the warning.\nexport function warnUnlicensedAuthService(service: 'LDAP' | 'SAML', module: LicenseModule): void {\n\tif (warned.has(module) || License.hasModule(module)) {\n\t\treturn;\n\t}\n\n\twarned.add(module);\n\n\tSystemLogger.warn({\n\t\tmsg: `${service} authentication will require a Premium plan starting on version 9.0.0. This workspace has no license covering it, so ${service} logins will stop working after the upgrade.`,\n\t\tmodule,\n\t});\n}\n","sourceCodeStart":1,"sourceCodeEnd":22,"githubUrl":"https://github.com/RocketChat/Rocket.Chat/blob/b2c16d5842cbe6b69b59bdf6fc5e5f1afcd1f0b0/apps/meteor/server/lib/premiumAuthDeprecation.ts#L1-L22","documentation":"Announced deprecation: starting with Rocket.Chat 9.0.0, LDAP and SAML authentication require a Premium license module. On each LDAP/SAML login (checked at login time, not startup, so licensed workspaces never see it), if the workspace license lacks the module this warning is logged once per module per process. Nothing breaks on 8.x, but after upgrading to 9.x those logins stop working.","triggerScenarios":"A user logs in via LDAP or SAML on a workspace whose license does not include the corresponding module (community edition / no license) — warnUnlicensedAuthService fires on the first login attempt per module after server start.","commonSituations":"Community-edition workspaces relying on LDAP or SAML for SSO ahead of a 9.0 upgrade; licenses downgraded or expired; evaluation installs deciding whether to upgrade.","solutions":["Before upgrading to 9.0.0, purchase and apply a license that includes the LDAP/SAML modules","If Premium is not an option, plan migration to another auth method (OAuth providers, built-in accounts) well before the upgrade","Inventory exposure: count users whose loginService is LDAP/SAML and their last login dates","On 8.x the warning is safe to acknowledge — it is a heads-up, not a failure; it fires once per server start per module"],"exampleFix":null,"handlingStrategy":"validation","validationCode":"import { License } from '@rocket.chat/license';\n\nconst module: LicenseModule = 'saml-service'; // or the LDAP module\nif (!License.hasModule(module)) {\n  // surface to admins now: logins via this method stop working on 9.0.0\n  Notifications.notifyAdmins({ msg: `${service} login requires a Premium license as of 9.0.0 — plan migration` });\n}","typeGuard":null,"tryCatchPattern":null,"preventionTips":["Audit license modules before any major-version upgrade","Track how many users authenticate via LDAP/SAML and plan a fallback auth method","Treat this warning as an upgrade blocker, not log noise"],"tags":["license","saml","ldap","deprecation","upgrade"],"backgroundTag":"license-required-feature","analyzedSha":"b2c16d5842cbe6b69b59bdf6fc5e5f1afcd1f0b0","analyzedAt":"2026-08-18T15:26:39.429Z","contentChangedAt":"2026-08-18T15:26:39.429Z","schemaVersion":2},"datasetVersion":"2026-09-14T05:17:10.506Z"}