Skip to content
Advertisement

Tag: firebase-authentication

Firebase: authenticated and guest clients connecting to same Firestore Database

My use case is, I have a web app in which I listen to Firestore collections. One of the collections are for public users where anonymous auth is enough. And the second collection is for logged in users, so I implemented custom token auth following this. https://firebase.google.com/docs/auth/web/custom-auth. Once a user logs in, we start a Web Worker to initialise app

Some phone numbers do not receive otp sms message with Firebase phone auth

I am experiencing unpredictable behaviour when authenticating users with firebase phone Auth for web, with the javascript modular web api. These are my dependencies: “@firebase/auth”: “^0.19.11”, “firebase”: “^9.6.8”, I have tested approximately 20 real phone numbers and some test numbers and for most of the time it works fine. But for some it fails to send the OTP code, without

How to switch between emailLink and password sign-in method in firebase auth?

There are two methods a user can sign in via email: “emailLink” and “password” (see https://firebase.google.com/docs/auth/web/email-link-auth#differentiating_emailpassword_from_email_link) I want to give my users the option to switch between these two methods. However, I did not find any documentation to how I could unlink an email sign-in method (e.g. password). As far as I understood, you can only unlink a sign-in method

Advertisement