I had a question in regarding to the NextJS app which uses cloud firestore and firebase authentication which is deployed using the vercel deployment and domain is also registered using vercel itself.
- Deployment : Vercel
- Domain : Vercel
- Authentication : Firebase Authentication
- Database: Cloud Firestore
- Storage: Firebase Storage
I followed this document https://firebase.google.com/docs/auth/web/google-signin#expandable-4 but without firebase hosting and custom domain registration with firebase, I cannnot “Customizing the redirect domain for Google sign-inOn project creation”
Below configuration is not working
firebase config {
authDomain: “customdomain.com”
}
I cannot change the domain to firebase hosting, because then I won”t be able to deploy using vercel.
Is there a way retain my vercel deployment and customise the redirect url while authenticating user.