此客户端应用程序未批准回调 URL。可以在您的应用程序设置中调整批准的回调 URLs

Callback URL not approved for this client application. Approved callback URLs can be adjusted in your application settings

我需要让我的网站用户能够使用他们的 Twitter 帐户登录我的网站。我的网站基于angular8和spring启动。当我配置 Auth0 并测试我的 Twitter 应用程序时,我收到以下错误:

{
  "error": "access_denied",
  "error_description": "Callback URL not approved for this client application. Approved callback URLs can be adjusted in your application settings"
}

但是我 callback_url 配置正确。那么这个问题的解决方法是什么?

您很可能将 twitter 回调 URL 设置为您自己的域,但在 auth0 推特登录中,登录回调应该发生在 auth0 上。

所以将你的 Twitter 应用程序回调 URL 更改为以下,

https://your-tenant.auth0.com/login/callback

your-tenant 应替换为您的实际租户域。

这里有更多信息https://community.auth0.com/t/twitter-auth-no-longer-works/12291/22