I'm putting a react web app together with firebase.
I have a sign in screen for users to signin with Google using firebase's signInWithRedirect.
It all works fine, except that the auth returns to the signin screen which shows again for a couple of seconds before my react router picks up that they've authenticated and sends them to the app home.
Refreshing the app home is nice and fast.
Signin is on / The app home is on /app
Is there a way to specify that the Google auth for firebase's signInWithRedirect redirects back to the app home rather than to the original signin page?