title: E/TokenRequestor: You have wrong OAuth2 related configurations, please check. Detailed error: UNREGISTERED_ON_API_CONSOLE
body: <p>I am using Google Sign In via Firebase in my app. But while running the published app from Play Store, it shows following error.</p>
  
  <pre><code>E/TokenRequestor: You have wrong OAuth2 related configurations, please check. Detailed error: UNREGISTERED_ON_API_CONSOLE
  </code></pre>
  
  <p>All though I have registered on Firebase, and API Console, with ids mentioned in JSON file. Following is the JSON File code</p>
  
  <pre><code>{
    "project_info": {
    "project_number": "311816357497",
    "firebase_url": "https://mcqsce.firebaseio.com",
    "project_id": "mcqsce",
    "storage_bucket": "mcqsce.appspot.com"
  },
  "client": [
  {
    "client_info": {
      "mobilesdk_app_id": "1:311816357497:android:494b736XXXX6010b",
      "android_client_info": {
        "package_name": "in.readhere.mcqceit"
      }
    },
    "oauth_client": [
      {
        "client_id": "311816357497-9ma34c4qXXXXXXXXXXXXXoep8b24u8g.apps.googleusercontent.com",
        "client_type": 1,
        "android_info": {
          "package_name": "in.readhere.mcqceit",
          "certificate_hash": "6847ce9f7e38dc588d12345678f21c13bd25ea7c"
        }
      },
      {
        "client_id": "311816357497-5lbqnmj0bxxxxxxxxxxxxxm4qjfhmq06.apps.googleusercontent.com",
        "client_type": 3
      }
    ],
    "api_key": [
      {
        "current_key": "AIzaSyC6BGtRfxxxxxxxxxGrwwe_0V3uY9g-0dI"
      }
    ],
    "services": {
      "analytics_service": {
        "status": 1
      },
      "appinvite_service": {
        "status": 2,
        "other_platform_oauth_client": [
          {
            "client_id": "311816357497-5lbqnmj0bxxxxxxxxxxxxxxm4qjfhmq06.apps.googleusercontent.com",
            "client_type": 3
          }
         ]
       },
       "ads_service": {
         "status": 2
       }
     }
   }
   ],
   "configuration_version": "1"
  }
  </code></pre>
  
  <p>Following is the API Console for app
  <a href="https://i.stack.imgur.com/7QkTw.png" rel="noreferrer">firebase console</a></p>
  
  <p><a href="https://i.stack.imgur.com/6bTVd.png" rel="noreferrer">api console</a></p>