-
Notifications
You must be signed in to change notification settings - Fork 3.6k
fix(signinup): several issues #12698
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
AMoreaux
commented
Jun 18, 2025
- Fixed an issue where you have invitations in your available workspaces for signup.
- Corrected the URL display in the browser when hovering over the twenty logo on the sign-in/up form.
- The workspace list is now displayed when you are logged into the default domain.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
PR Summary
Comprehensive updates to workspace authentication and domain handling during sign-in/up flow.
- Added
defaultUrl
touseReadDefaultDomainFromConfiguration
hook to maintain URL parameters and protocol during domain redirection - Enhanced
UserWorkspaceService
to handle nullworkspaceSSOIdentityProviders
and include both personal invite token and workspace'sinviteHash
- Updated Logo component to use dynamic
defaultUrl
instead of hardcodedAppPath.SignInUp
- Fixed workspace selection logic in
SignInUpGlobalScopeFormEffect
to properly handle multiple available workspaces - Simplified state management in SignInUp component by leveraging
useAuth
hook
5 files reviewed, 1 comment
Edit PR Review Bot Settings | Greptile
@@ -6,6 +6,7 @@ import { UndecoratedLink } from 'twenty-ui/navigation'; | |||
import { REACT_APP_SERVER_BASE_URL } from '~/config'; | |||
import { useRedirectToDefaultDomain } from '~/modules/domain-manager/hooks/useRedirectToDefaultDomain'; | |||
import { AppPath } from '~/modules/types/AppPath'; | |||
import { useReadDefaultDomainFromConfiguration } from '@/domain-manager/hooks/useReadDefaultDomainFromConfiguration'; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
style: Import path should use '~' alias instead of '@' for consistency with other imports
🚀 Preview Environment Ready! Your preview environment is available at: http://bore.pub:38826 This environment will automatically shut down when the PR is closed or after 5 hours. |
Suspect IssuesThis pull request was deployed and Sentry observed the following issues:
Did you find this useful? React with a 👍 or 👎 |
- Fixed an issue where you have invitations in your available workspaces for signup. - Corrected the URL display in the browser when hovering over the twenty logo on the sign-in/up form. - The workspace list is now displayed when you are logged into the default domain.
Sentry Issue: TWENTY-SERVER-6DE |
This reverts commit 9612a49. (Causes a google auth sign-up issue)