New users via API if allow new unchecked

I have SSO as well :slightly_smiling_face: You asked about creating new users via an API call, though, without having just anyone able to create an account. And in that case, you should try my solution.

Invite buttons don’t show when SSO is enabled (Source).

If you have SSO, you don’t need to create users via the API as a correct SSO implementation does it for you (Source).

When you use a separate site as the SSO provider, Discourse will know if they are already logged in and won’t prompt them to sign in again

Here’s one of the resources I used for learning more about how SSO works:

Why not just try it and see if it works for you? :slight_smile:

3 Likes