# Ionic and Firebase v3 google auth error

**URL:** <https://forum.ionicframework.com/t/ionic-and-firebase-v3-google-auth-error/55999>\
**Category:** ionic-v1\
**Created:** [June 28, 2016, 5:52am UTC](https://forum.ionicframework.com/t/ionic-and-firebase-v3-google-auth-error/55999 "2016-06-28T05:52:14Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![LgArcida](https://avatars.discourse-cdn.com/v4/letter/l/958977/32.png) [@LgArcida](https://forum.ionicframework.com/u/LgArcida)\
**Post date:** [June 28, 2016, 5:52am UTC](https://forum.ionicframework.com/t/ionic-and-firebase-v3-google-auth-error/55999/1 "2016-06-28T05:52:14Z")

</div>

Hi,  
I’m trying to add the Google-plus login to my app, but no matter what I do I cannot get it working on a real Android device.  
So far I was able to get the **idToken** from this plugin 🙂  
[cordova-plugin-googleplus](https://github.com/EddyVerbruggen/cordova-plugin-googleplus/blob/886fda37764a6b253f1b1915e99deb03ff94bef4/README.md)  
Using Firebase’s `singInWithCredential(idToken)` I get an error that said:

> This app, identified by the domain where it is hosted, is not authorized to use Firebase Authentication with the provided API key. Review your key configuration in the Google API console.

I want to point out that I follow all the steps for the installation, SHA1 key are correct and I am using signed APKs.  
Using the facebook plugin, retrieving the token and signInWithCredential worked without any issue.

Thanks in advance!

---

<div class="post-metadata">

**Author:** ![xiaofanwu](https://avatars.discourse-cdn.com/v4/letter/x/278dde/32.png) [@xiaofanwu](https://forum.ionicframework.com/u/xiaofanwu)\
**Post date:** [June 29, 2016, 1:26am UTC](https://forum.ionicframework.com/t/ionic-and-firebase-v3-google-auth-error/55999/2 "2016-06-29T01:26:28Z")

</div>

I think Google-plus plugin is deprecated according to the Google website.

[https://developers.google.com/+/mobile/ios/getting-started](https://developers.google.com/+/mobile/ios/getting-started)
