Our external system needs to integrate with Discourse. Discourse is currently using SSO to authenticate against our external system with no issues. However, we need to automate a few things:
- External users need to be added in advanced of logging into Discourse.
- After being added, external users need to be added to a specific Security Group.
- External users need to be subscribed to receive updates from a specific Category.
Overall, the goal is as new users join the external system (an ASP.net MVC app) they also join Discourse and receive updates from a specific category.
Can all of this be done just using the API?
It’s my understanding that one can use the API to create a user as “Staged” via the API. However, I’m not sure this can be done on SSO users of if the users can receive email updates from subscribed categories.
I’m not sure if a user can be subscribed to receive updates from a specific category using the API or not.