Alternative Sign in Methods for Firebase with Ionic
In my other posts on Firebase sign ins, a focus has been put on Social providers. The main point of this emphasis is to enable ways for users to sign in with information they already have rather than creating new credentials for yet another site. What if, however, the user has no social providers or what if they have them but don’t want to use the ones we offer.
Additionally, what if the user doesn’t want to provide their information but we still need some way to authenticate the user to provide services.
This is where the next two sign-in methods come in very handy; SMS Sign in and Anonymous sign in.
Anon Login
Enabling Anon Login will be easy if you have done any of the other firebase providers I have wrote about. We will be reusing alot of the same stuff to get anon login working. The good news for this login , is no native social media providers are needed.
Furthermore if at a later point we need to, anon user accounts can be converted and linked to other types of accounts in the firebase console.
First step is to enable to anon login sign-in method in firebase. Once this is activated, no further setup is needed other than the typical firebase setup if it is a new project.