Hi there, wondering if there's a way to do this with oauth as well? Id like to authenticate the user using Google Sign in on my frontend without actually creating them in Firebase. Then send some credential to the backend, which the backend can validate, and finally create the user in both my DB and in Firebase.
This handles a case where the user is created in Firebase but not the backend DB (eg firebase auth succeeds, but backend is unreachable so signup is not completed).
Seems like the custom token is ideal for email/pwd sign in, but i dont think it handles oauth.
Thanks,
Francesco