Open In App

Types of Authentications in Firebase

Improve
Improve
Like Article
Like
Save
Share
Report

Firebase is a Backend-as-a-Service (Baas) provided by Google which helps developers to build, manage, and grow their apps easily. It provides multiple tools and services to the developers to build quality and secure applications. It is built on Google’s Infrastructure. It provides services to multiple platforms like Web, IOS, Android, and Unity.

What is Authentication?

It is a service provided by Firebase which allows developers to authenticate their users. It provides simple and easy-to-use UI libraries and SDKs. It eliminates the effort required to develop and maintain the authentication service. It can easily handle tasks like merging accounts.

Types of Authentication in Firebase

  1. Email and Password Authentication
  2. Google Authentication
  3. Github Authentication
  4. Facebook Authentication
  5. Twitter Authentication
  6. Apple Authentication
  7. Microsoft Authentication
  8. Play Games Authentication
  9. Yahoo Authentication
  10. Phone Number Authentication
  11. Anonymous Authentication

1. Email And Password Authentication

In this type of authentication, users are able to register or login using their email and password. Firebase provides methods to create and manage users in applications. Firebase also provides functionality like reset password by which users will be able to reset their account password.

2. Google Authentication

In this type of authentication, users are able to login using their existing Google account. Firebase provides various functions and methods by which we can get the basic account details of the users.

3. Facebook Authentication

In this type of authentication, users are able to login using their Facebook credentials. In this, we also need to register our application on facebook’s developer portal and generate our client id and secret id, so that firebase can authenticate the user.

4. Github Authentication

In this type of authentication, users are able to login using their Github credentials. In this, we also need to register as a developer application on GitHub and get your app’s OAuth 2.0 i.e. client id and client secret, so that firebase can authenticate the user.

5. Twitter Authentication

In this type of authentication, users are able to login using their Twitter credentials. In this, we also need to register our application on twitter’s developer portal and generate our client id and secret id, so that firebase can authenticate the user.

6. Apple Authentication

In this type of authentication, users are able to login using their Apple credentials. In this, we also need to register our application on Apple’s developer portal and generate our client id and secret id, so that firebase can authenticate the user.

7. Microsoft Authentication

In this type of authentication, users are able to login using their Microsoft credentials. In this, we also need to register our application on Microsoft’s Azure portal and generate our client id and secret id, so that firebase can authenticate the user.

8. Play Game Authentication

In this type of authentication, users are able to login using their Play Game credentials. In this, we also need to register our application on the google cloud platform and generate our client id and secret id, so that firebase can authenticate the user.

9. Yahoo Authentication

In this type of authentication, users are able to login using their Yahoo credentials. In this, we also need to register our application on Yahoo’s developer portal and generate our client id and secret id, so that firebase can authenticate the user.

10. Phone Number Authentication:

In this type of authentication, users are able to login with their Phone Number. Users will get one SMS having their login one-time password by entering the OTP users can login into the application.

11. Anonymous Authentication:

This type of Authentication is useful when the users don’t want to signup. In this, we create temporary accounts for users and when they want to signup in the future we just upgrade this Anonymous account to the regular account, so that users can continue where they left off. 


Last Updated : 02 Mar, 2022
Like Article
Save Article
Previous
Next
Share your thoughts in the comments
Similar Reads