Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions .changeset/remove-atlassian-crowd.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
---
'@rocket.chat/model-typings': major
Comment thread
KevLehman marked this conversation as resolved.
'@rocket.chat/meteor': major
'@rocket.chat/models': major
'@rocket.chat/i18n': major
---

Removes the Atlassian Crowd integration. Atlassian has announced the end-of-life of Crowd, and workspaces that need directory-backed authentication can use the LDAP integration instead — Crowd itself exposes an LDAP interface. All `CROWD_*` settings, the Crowd login handler, the background user-sync job, and the Admin > Settings > Atlassian Crowd section are removed; on upgrade the settings and any scheduled sync job are deleted from the database. Users previously provisioned through Crowd keep their accounts, profile data, roles, and room memberships, but must sign in through another authentication method (such as LDAP or local password, using the "Forgot password" flow if needed).
49 changes: 0 additions & 49 deletions apps/meteor/client/meteor/login/crowd.ts

This file was deleted.

1 change: 0 additions & 1 deletion apps/meteor/client/meteor/login/index.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
import './cas';
import './crowd';
import './facebook';
import './google';
import './ldap';
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@ import { Meteor } from 'meteor/meteor';
import type { ContextType, ReactNode } from 'react';
import { useMemo, useSyncExternalStore } from 'react';

import { useLDAPAndCrowdCollisionWarning } from './hooks/useLDAPAndCrowdCollisionWarning';
import { capitalize as capitalizeService } from '../../../lib/utils/stringUtils';
import { loginServices } from '../../lib/loginServices';
import { getDdpSdk } from '../../lib/sdk/ddpSdk';
Expand Down Expand Up @@ -59,11 +58,8 @@ const getLoggingInSnapshot = (): boolean => Accounts.loggingIn();

const AuthenticationProvider = ({ children }: AuthenticationProviderProps) => {
const isLdapEnabled = useSetting('LDAP_Enable', false);
const isCrowdEnabled = useSetting('CROWD_Enable', false);

const loginMethod: LoginMethods = (isLdapEnabled && 'loginWithLDAP') || (isCrowdEnabled && 'loginWithCrowd') || 'loginWithPassword';

useLDAPAndCrowdCollisionWarning();
const loginMethod: LoginMethods = isLdapEnabled ? 'loginWithLDAP' : 'loginWithPassword';

const isLoggingIn = useSyncExternalStore(subscribeLoggingIn, getLoggingInSnapshot);

Expand Down

This file was deleted.

3 changes: 0 additions & 3 deletions apps/meteor/definition/externals/atlassian-crowd-patched.d.ts

This file was deleted.

1 change: 0 additions & 1 deletion apps/meteor/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -168,7 +168,6 @@
"ajv-formats": "~3.0.1",
"archiver": "^7.0.1",
"asterisk-manager": "^0.2.0",
"atlassian-crowd-patched": "^0.5.1",
"bad-words": "^3.0.4",
"bcrypt": "^6.0.0",
"body-parser": "^1.20.6",
Expand Down
1 change: 0 additions & 1 deletion apps/meteor/server/importPackages.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@ import './lib/autotranslate';
import './lib/bot-helpers';
import './lib/rooms/settings';
import './lib/cloud';
import './lib/auth-providers/crowd/crowd';
import './lib/auth-providers/custom-oauth/custom_oauth_server';
import './lib/media/custom-sounds/startup/custom-sounds';
import './lib/auth-providers/dolphin';
Expand Down
Loading
Loading