You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hide the Security tab in profile settings when the web app is built with VITE_AUTH_TYPE=SSO.
Hide the Deactivate account section on the Profile tab under the same condition.
Add a shared isSsoAuth() helper (apps/web/helpers/auth-config.helper.ts) aligned with existing SSO onboarding behavior.
Redirect /settings/profile/security to /settings/profile/general for SSO builds, and fall back to the Profile tab in the profile settings modal if Security was requested.
Motivation
SSO deployments manage authentication and account lifecycle outside Plane. Local password changes and self-service account deactivation are not applicable and should not be exposed in the UI.
Reviewed the changes. Everything looks functionally correct — the SSO redirects, sidebar hiding, and deactivate account suppression all work as intended. I made two cleanup improvements in commit e8ece4d:
Removed duplicate isSsoAuth inline implementations in core/components/onboarding/profile-setup.tsx and core/components/onboarding/steps/profile/root.tsx — both files were still computing the check inline rather than using the new shared helper. They now import and call isSsoAuth() from helpers/auth-config.helper.ts.
Removed unused SMB_NAME from vite-process-env.d.ts — it was declared as a required string but not referenced anywhere in the codebase, which could cause confusion about which env vars are available. Simplified to just Record<string, string | undefined>.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
VITE_AUTH_TYPE=SSO.isSsoAuth()helper (apps/web/helpers/auth-config.helper.ts) aligned with existing SSO onboarding behavior./settings/profile/securityto/settings/profile/generalfor SSO builds, and fall back to the Profile tab in the profile settings modal if Security was requested.Motivation
SSO deployments manage authentication and account lifecycle outside Plane. Local password changes and self-service account deactivation are not applicable and should not be exposed in the UI.
Configuration
Set at build time (baked into the web bundle):