It looks like the browser history state is being replaced if a user browses to the server when they are not signed in. This prevents a user from using the "back" button on their browser.
|
if (authState.matches("signedIn")) { |
|
return <Navigate to={redirectTo} replace /> |
|
} else if (authState.matches("waitingForTheFirstUser")) { |
Is this intentional? If not, I think the removing the replace on the navigate component should fix it..
This was initially introduced in: #465