DiscourseConnect provider 输入正确 id 和 password 后未重定向到 return_url

我已经按照步骤启用了 DiscourseConnect Provider。当我将用户重定向到

http://localhost:4200/session/sso_provider?sso=${URL_ENCODED_PAYLOAD}&sig=${HEX_SIGNATURE}

它会带我到 Discourse 登录对话框。我正确输入了用户名和密码,但当我点击提交时,对话框会关闭,但不会将我重定向回 return url。

注意:当我创建新帐户时,在这种情况下我会重定向回来,但是当我已有帐户并想登录时,我不会被重定向回来。

请帮忙。

I’ve moved this to Support for now since this post does not include complete information to reproduce the behavior.