/FirebaseAuthOneTapUI

Sample app to demonstrate how to use Firebase Authentication with Google One Tap UI

Primary LanguageKotlinMIT LicenseMIT

Firebase Auth One Tap Demo

This is a sample android app to demonstrate how to integrate One Tap sign-in and sign-up with Firebase Authentication. Find more details about the implementation on this blog post.

Running the app

To get the app up and running, you'll need to:

  1. Open the Firebase Console, create a new project (or use an existing one) and add an android app.
  2. When prompted, use the application ID "io.github.rosariopfernandes.firebaseauthonetap" and add your SHA-1 Key. The simplest way to get your SHA-1 key is to:
    1. Open your project in Android Studio.
    2. Click on Gradle Menu on the right side to expand it.
    3. Select app > Tasks > android and click on signingReport. Your SHA-1 will show up on the Run Tab at the bottom.
  3. Download the google-services.json file from the Firebase Console.
  4. Copy the google-services.json file to the FirebaseAuthOneTap/app directory.
  5. Build the project

License

This project is licensed under the MIT License. See LICENSE for more details.