谷歌 OAuth &API:空白登录,因为本地主机未“列入白名单";

编程入门 行业动态 更新时间:2024-10-23 20:24:51
本文介绍了谷歌 OAuth &API:空白登录,因为本地主机未“列入白名单";的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

限时送ChatGPT账号..

错误(从 html 检查):

详细信息:不是客户端的有效来源:http://localhost:3000 尚未被列入白名单客户端 ID 830959654564-inlhib5r4afjbm4ebt1e43gt07bpvve5.apps.googleusercontent.请访问 https://console.developers.google/ 并将此源列入您项目的客户端 ID 的白名单."错误:idpiframe_initialization_failed"

details: "Not a valid origin for the client: http://localhost:3000 has not been whitelisted for client ID 830959654564-inlhib5r4afjbm4ebt1e43gt07bpvve5.apps.googleusercontent. Please go to https://console.developers.google/ and whitelist this origin for your project's client ID." error: "idpiframe_initialization_failed"

问题:尝试使用 localhost:3000 和我从 React 提供的本地 IP 地址.我试过清除缓存.我试过使用其他浏览器.

Problem: Tried using localhost:3000 and my local ip address given from React. I've tried clearing the cache. I've tried using other browsers.

空白 Google OAuth

推荐答案

仍然没有真正的解决方案,但我创建了一个新项目并且还没有遇到任何问题.

Well still no real solution but I created a new project and have reached no problems yet.

这篇关于谷歌 OAuth &API:空白登录,因为本地主机未“列入白名单";的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

更多推荐

[db:关键词]

本文发布于:2023-04-18 05:47:37,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/930532.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:空白   名单   主机   OAuth   谷歌

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!