Skip to content

Update cognito may#1604

Open
Kariamos wants to merge 6 commits into
masterfrom
update-cognito-may
Open

Update cognito may#1604
Kariamos wants to merge 6 commits into
masterfrom
update-cognito-may

Conversation

@Kariamos
Copy link
Copy Markdown
Contributor

This pull request removes all legacy authentication support and related UI from the codebase, including the legacy authentication banner, API endpoints, and conditional logic for legacy users. It also cleans up translation files and simplifies password change logic to only support Cognito users. Additionally, it updates the SSO info alert date.

Removal of legacy authentication support:

  • Deleted the LegacyAuthBanner component and all its usages, including conditional rendering and banner height handling in the navigation layout (src/common/components/LegacyAuthBanner/index.tsx, src/features/navigation/Navigation/index.tsx). [1] [2] [3] [4]
  • Removed legacy authentication alert from the profile security settings card, and eliminated related user type checks (src/pages/Profile/parts/SecuritySettingsCard.tsx). [1] [2] [3] [4]
  • Simplified the password change logic to only handle Cognito users, removing all legacy user handling and error parsing for legacy flows (src/pages/Profile/FormPassword.tsx). [1] [2]

API and schema cleanup:

  • Removed the /users/me/token endpoint and related types, queries, and exports from the API and schema files (src/common/schema.ts, src/features/api/index.ts). [1] [2] [3] [4] [5]

Translation and UI adjustments:

  • Removed legacy alert titles from translation files (src/locales/en/translation.json, src/locales/it/translation.json). [1] [2]
  • Updated the SSO info alert expiration date in the login form to September 12, 2026 (src/pages/LoginPage/LoginForm.tsx).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants