Maybe i wrote it somehow unclear
This means I create a user in Discourse via API at the time of them creating an account on the website. I don’t have any kind of “SSO”. It’s pure one single API request.
And I do want to actually prohibit non-API registrations. “local logins” is the only way users can log in, as I don’t have any SSO-stuff.