使用SSO登录时没有用户名检查提示

Thanks for that clarification. We have one problem with our SSO in terms of usernames. When somebody registers via our SSO he automatically gets logged-in and there is no prompt that asks him if the username is ok and if he wants to change it like in this forum here

I couldn’t find this settings in our discourse. It should work like here when I created my account with Google login.

With the Discourse custom SSO protocol, it’s been assumed that the user can manage all relevant account aspects, including username, in the external auth provider. We recently added the external auth skip create confirm setting to go in the other direction for non-SSO authenticators.

Another option is to uncheck sso overrides username, and users will be able to change their own username after logging in.

4 个赞

我们想使用 Discourse 自定义 SSO,但我们没有用户名的概念。是否可以强制使用此对话框(即使是在代码中)?现在我们得到一堆 user1245,这并非最佳选择。

1 个赞