2017-04-15 66 views
0

我使用cordova-plugin-googleplus用于在我的Ionic应用中使用Google帐户进行身份验证。Google Auth for Ionic App

我已经完成了docs中列出的所有步骤,但它仍然不起作用。我已经得到了迪奥12501错误

我有凭据和我打电话使用的身份验证方法:

vm.loginWithGoogle =() => { 
     console.log('Login with google', window.plugins.googleplus); 
     window.plugins.googleplus.login(
      {webClientId:'my-credentials'}, 
      success => console.log('success', success), 
      error => console.log('error', error) 
     ); 
    } 

有人通过此之前通过呢?

回答

1

刚才我正面临这个问题。通过

  1. 上解决了“离子插件添加”,扭转你的钥匙,你从谷歌控制台得到
  2. 与您所使用的谷歌控制台

问候密钥工具生成的密钥签名的应用程序,