I am trying to follow option 1 of the redirect best practices from firebase: https://firebase.google.com/docs/auth/web/redirect-best-practices