Skip to main content

Authenticate with Firebase Using Google Sign-In

To enable Google Sign-In authentication in your News App, follow these steps:

  1. Open your Firebase console.

  2. Go to Authentication and select the Sign-in method tab.

  3. Find the Google provider and enable it. This will automatically set up Google sign-in.

    Enable Google Auth

    Google Auth Settings

  4. Download and install JDK x64 Installer from Oracle's website and set JAVA_HOME by following these instructions if you haven't done so yet.

  5. After that, Follow 🔒 Add SHA1 & SHA256 Keys in Firebase

With these settings in place, users will be able to sign into your News App using their Google accounts.

tip

Test Google Sign-In thoroughly on both Android and iOS platforms to ensure a smooth user experience.