With Google signup you are able to login with your google credentials into the app.


A) Enable required API

  1. Open your console and go to API Manager -> Dashboard
  2. Click on the Enable API button
  3. Click on the Google+ API button in the Social APIs section
  4. Click on Enable API button
  5. Now go to API Manager -> Credentials and fill OAuth consent screen

B) Generate keys for Offito Dashboard

  1. Go to API Management -> Credentials and click on Create credentials -> OAuth client ID
  2. Select Application type to Web application. Input all origins where your app is accessible into Authorized JavaScript origins - Don`t forget to add offito-YOURPROJECT.appspot.com and your domain name with http/https versions. Same urls input to Authorized redirect URLs.
  3. Input your client ID and secret into Offito Dashboard - Social -> Google+.

C) Setup Android

  1. Open file in res/values/strings.xml file in your android project
  2. Replace [YOUR_GOOGLE_AUTH_CLIENT_ID] with ClientID you have input into your dashboard in step B3)
  3. Make sure you have setup this section correctly with your real values (app/build.gradle). This is required for next step because we will use your keystore information
  4. Run gradle signingReport task from the right menu and open gradle console. You will see here your SHA1 hash which firebase requires to complete setup
  5. Input your SHA1 hashes for all keystores you are using into your firebase app 
  6. You are ready to go