Skip to content

fix: Setup redirect #4064

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

Merged
merged 7 commits into from
Sep 15, 2022
Merged

fix: Setup redirect #4064

merged 7 commits into from
Sep 15, 2022

Conversation

BrunoQuaresma
Copy link
Collaborator

Fix #4050

@BrunoQuaresma BrunoQuaresma requested a review from bpmct September 14, 2022 19:54
@BrunoQuaresma BrunoQuaresma self-assigned this Sep 14, 2022
@BrunoQuaresma BrunoQuaresma requested a review from a team as a code owner September 14, 2022 19:54
@BrunoQuaresma BrunoQuaresma requested review from code-asher and removed request for a team September 14, 2022 19:54
Copy link
Member

@code-asher code-asher left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good! Verified it works on my deployment.

Out of curiosity it looks like the auth xservice is maybe supposed to do a redirect? Not sure if that means the service is broken or if these lines are actually doing something else or these lines should be removed:

waitingForTheFirstUser: {
entry: "redirectToSetupPage",

@BrunoQuaresma
Copy link
Collaborator Author

BrunoQuaresma commented Sep 15, 2022

@code-asher good point. I will take a look into that. Since our "guards redirects" are made using Routes, I'm removing this and updating the LoginPage.

@BrunoQuaresma BrunoQuaresma enabled auto-merge (squash) September 15, 2022 13:19
@BrunoQuaresma BrunoQuaresma merged commit 9e9a9e0 into main Sep 15, 2022
@BrunoQuaresma BrunoQuaresma deleted the bq/fix-setup-redirect branch September 15, 2022 13:26
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.

bug: User is not redirect to /setup when there is no first user
4 participants