gpt4 book ai didi

ionic3 - 错误 : deleted_client The OAuth client was deleted

转载 作者:行者123 更新时间:2023-12-05 04:06:19 24 4
gpt4 key购买 nike

如何删除旧的 clientID?

我已经在谷歌开发者控制台中创建并生成了一个新的 clientID

google developer console

新的 clientID 与浏览器中的不匹配。这可能解释了尝试登录时的错误

error while attempting to signin

我知道应用设置中的一切都是正确的

  • 这是我的package.json

    “名称”:“auth-firebase-2”, “版本”:“0.0.1”, “作者”:“ ionic 框架”, “主页”:“http://ionicframework.com/”, “私有(private)”:是的, “脚本”:{ "clean": "ionic-app-scripts clean", “构建”:“ ionic 应用程序脚本构建”, "lint": "ionic-app-scripts lint", "ionic:build": "ionic-app-scripts build", "ionic:serve": "ionic-app-scripts 服务" }, “依赖”:{ "@angular/animations": "5.2.9", "@angular/common": "5.2.9", "@angular/编译器": "5.2.9", "@angular/compiler-cli": "5.2.9", "@angular/core": "5.2.9", "@angular/forms": "5.2.9", "@angular/http": "5.2.9", "@angular/platform-b​​rowser": "5.2.9", "@angular/platform-b​​rowser-dynamic": "5.2.9", "@ionic-native/core": "4.6.0", "@ionic-native/splash-screen": "4.6.0", "@ionic-native/status-bar": "4.6.0", "@ionic/存储": "2.1.3", "angularfire2": "^5.0.0-rc.6.0", “ Cordova 机器人”:“7.0.0”, “ Cordova 浏览器”:“5.0.3”, “cordova-ios”:“4.5.4”, “ Cordova 插件设备”:“^2.0.2”, "cordova-plugin-googleplus": "^5.3.0", “cordova-plugin-ionic-keyboard”:“^2.0.5”, "cordova-plugin-ionic-webview": "^1.2.0", "cordova-plugin-splashscreen": "^5.0.2", "cordova-plugin-whitelist": "^1.3.3", “火力基地”:“^ 4.13.0”, “ ionic 角度”:“3.9.2”, “ionicons”:“3.0.0”, "rxjs": "5.5.8", “sw-工具箱”:“3.6.0”, “zone.js”:“0.8.26” }, “devDependencies”:{ "@ionic/app-scripts": "3.1.9", “ typescript ”:“〜2.6.2” }, “描述”:“一个 ionic 项目”, “ Cordova ”:{ “插件”:{ “cordova-plugin-whitelist”:{}, “ Cordova 插件设备”:{}, “cordova-plugin-splashscreen”:{}, “cordova-plugin-ionic-webview”:{}, “cordova-plugin-ionic-keyboard”:{}, “cordova-plugin-googleplus”:{ “WEB_APPLICATION_CLIENT_ID”:“1043269342338-6fta7jjp2u2rf4fhiupme8b0g1bf3br4.apps.googleusercontent.com”, “REVERSED_CLIENT_ID”:“com.googleusercontent.apps.558165536676-14360cssjil4t4c6tcvnr9ugu8lanehc” } }, “平台”:[ “浏览器”, “安卓” ] }

  • Google 登录已启用

enter image description here

  • 我已经在 google 开发人员控制台中创建了凭据,并且 GooglePlus API 也已启用

唯一的问题是浏览器似乎保留了旧的 clientID(现已删除)

我试过如下:- 清除 chrome 中的缓存:设置 > 高级 > 清除浏览数据- npm 缓存清理

没有任何效果。那么,您实际上如何删除对旧 clientID 的所有引用?

谢谢

最佳答案

不确定您是否仍在寻找答案,但将其张贴在这里以供其他人使用。

发生这种情况是因为您删除了 Google Developer Console 上的凭据。一旦你回到那里并重新创建凭据,回到你的工作目录并删除你应该在那里的旧 token 。

它将在之后恢复运行。

关于ionic3 - 错误 : deleted_client The OAuth client was deleted,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/49947708/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com