Skip to content
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

feat(auth-portal): Redirect to the default workspace on login #4200

Merged
merged 1 commit into from
Jul 23, 2024

Conversation

stack72
Copy link
Contributor

@stack72 stack72 commented Jul 23, 2024

When a user logs into the app (not from a redirect), we want to take the user to their default workspace.
The default workspace is chosen in the following order:

  • If the workspace has a flag of isDefault
  • The first production workspace owned by the user

This means that by shipping this code, we only affect users who have a production workspace. This will not redirect users with a local workspace

When a user logs into the app (not from a redirect), we want to take the user to their default workspace.
The default workspace is chosen in the following order:
* If the workspace has a flag of isDefault
* The first production workspace owned by the user

This means that by shipping this code, we only affect users who have a production workspace. This will not redirect users with a local workspace
@stack72 stack72 force-pushed the redirect-to-default-workspace branch from 7c62612 to 29b85e0 Compare July 23, 2024 20:15
@stack72 stack72 added this pull request to the merge queue Jul 23, 2024
Merged via the queue into main with commit f4d339d Jul 23, 2024
8 checks passed
@stack72 stack72 deleted the redirect-to-default-workspace branch July 23, 2024 23:01
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.

1 participant