Firebase (Firechat) "Route not found." 錯誤



我一直在尝试使用Firebase fire聊天,它使用默认的演示网址(http://firechat.firebaseapp.com)。但是,一旦我将其更改为我的网址,它就不起作用,即使我启用了推特登录,并且我在另一个Firebase应用程序上启用了推特身份验证。我收到的错误消息如下:

{"error":{"code":"ROUTE_NOT_FOUND","message":"Route not found."}}

知道吗?

来源: https://github.com/firebase/firechat

应用的 Twitter 回调网址应为:https://auth.firebase.com/v2/your-firebase-app-name/auth/twitter/callback

我找到了答案,在Twitter应用程序设置中,勾选了以下选项。所以,我解开了它,它现在可以工作了

Enable Callback Locking (It is recommended to enable callback locking to ensure apps cannot overwrite the callback url)

您需要在 https://apps.twitter.com/app/xxxxxx/settings
中设置回调URL,例如 https://auth.firebase.com/v2/xxxxxxx/auth/twitter/callback

最新更新