gpt4 book ai didi

django-allauth - [GSI_LOGGER] : The given origin is not allowed for the given client ID

转载 作者:行者123 更新时间:2023-12-05 00:43:44 65 4
gpt4 key购买 nike

我正在尝试将 google-one-tap 与本地主机上的 django 项目集成。所以我在 Client ID for Web 的 Authorized JavaScript origins 中添加了 http://localhost:8000http://localhost应用程序。我读了一些博客,上面的设置确实适用于 google-one-tap 本地测试,但它不适用于我。

最佳答案

这里提供的答案对我有用:The given origin is not allowed for the given client ID (GSI)

尽管省略端口并将 http://localhost 作为 JavaScript 源代码看起来很荒谬,但新的 Google 身份服务代码可以正常工作。

现在我的下一个问题是这个更改将如何影响重定向 url,它之前也接受了一个端口。

关于django-allauth - [GSI_LOGGER] : The given origin is not allowed for the given client ID,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/68854740/

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