# Create SSO Users, Adding To Group, Subscribing to Category via API

**URL:** <https://meta.discourse.org/t/create-sso-users-adding-to-group-subscribing-to-category-via-api/67335>\
**Category:** SSO\
**Created:** [August 2, 2017, 6:10pm UTC](https://meta.discourse.org/t/create-sso-users-adding-to-group-subscribing-to-category-via-api/67335 "2017-08-02T18:10:13Z")\
**Posts on this page:** 1\
**Showing post:** 1

<div class="post-metadata">

**Author:** ![SwisherSweet](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/swishersweet/32/119523_2.png) [@SwisherSweet](https://meta.discourse.org/u/SwisherSweet)\
**Post date:** [August 2, 2017, 6:10pm UTC](https://meta.discourse.org/t/create-sso-users-adding-to-group-subscribing-to-category-via-api/67335/1 "2017-08-02T18:10:13Z")

</div>

Hi,

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:

1. External users need to be added in advanced of logging into Discourse.
2. After being added, external users need to be added to a specific Security Group.
3. 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](http://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.

Thank you.

---

_[View the full topic](https://meta.discourse.org/t/create-sso-users-adding-to-group-subscribing-to-category-via-api/67335)._
