大家好,我是这里的一个友好新手。
我在为我的 Discourse 安装配置 GitHub 登录时遇到了一个问题。在 GitHub 设置部分的 管理 > 设置 > 登录 页面中提供了所需的 API 密钥后,点击 GitHub 登录选项会重定向到一个 404 页面,并返回下方的截图。
URL 栏中显示的内容如下:
https://MYDOMAIN/auth/oauth2_basic/callback?error=redirect_uri_mismatch&error_description=The+redirect_uri+MUST+match+the+registered+callback+URL+for+this+application.&error_uri=https%3A%2F%2Fdeveloper.github.com%2Fapps%2Fmanaging-oauth-apps%2Ftroubleshooting-authorization-request-errors%2F%23redirect-uri-mismatch&state=29b1f640d906a3bf4d92a1fe5846af740eea49adbfbfb65c
