Podio:注册的域与重定向 uri 不匹配

Podio: Domain registered does not match the redirect uri

我在实现跑道服务端的流量认证。我使用了以下 url 格式:

https://podio.com/oauth/authorize?response_type=code&client_id=MY-ID&redirect_uri=http://182.35.36.7:8000/authorize/callback

当我在 localhost 时它正在工作。但它在实时服务器中实施时检索到错误。错误是:

The domain registered does not match the redirect_uri given (http://182.35.36.7:8000/authorize/callback)

在跑道开发者设置中,我用我的 ID 创建了一个密钥,在我使用的域中:182.35.36.7:8000

我使用 MY-ID-localhost 为本地主机创建了另一个,在我使用的域中:localhost:8000

我需要补充一点,182.35.36.7 (it's not the real ip) 是一个内部 IP,只能从本地网络或通过 VPN 访问。但是指责这种身份验证的应用程序不是public,它只能在本地网络上工作。

所以重定向的 url 是来自本地网络的 http://182.35.36.7:8000/authorize/callback,我想重定向的是 url,但是我得到的错误与 redirect_uri给...

我认为错误是重定向到本地网络地址。我没有要重定向的 public 地址。这种情况我该怎么办?

我终于成功了,在跑道开发人员设置中,我将域从 182.35.36.7:8000 更改为 182.35.36.7,一旦端口不在配置中,重定向 uri 就会按预期工作。