gpt4 book ai didi

Twitter 不让我添加 127.0.0.1 作为回调 URL?

转载 作者:行者123 更新时间:2023-12-04 01:20:06 26 4
gpt4 key购买 nike

enter image description here
我正在尝试使用 twitter 实现 OAuth 身份验证。要在本地进行测试,我需要添加回调 URL ( http://127.0.0.1/... ) ,但是它说 '无效的网站 URL' 当我输入本地主机 URL 时。
文档 callback-urls声明这应该是有效的。
(PS 我对谷歌做了同样的事情,其中​​ localhost URL( http://127.0.0.1/... )被接受)

最佳答案

您需要将 ngrok 与 https url 一起使用:
安装它,然后使用以下命令运行它:ngrok http "port_that_u_re_using"

关于Twitter 不让我添加 127.0.0.1 作为回调 URL?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/62772599/

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