# Users self-select Category on Registration... is it possible?

**URL:** https://meta.discourse.org/t/users-self-select-category-on-registration-is-it-possible/240886
**Category:** Support
**Created:** [October 4, 2022, 1:42pm UTC](https://meta.discourse.org/t/users-self-select-category-on-registration-is-it-possible/240886 "2022-10-04T13:42:13Z")
**Posts on this page:** 6
**Page:** 1

<div class="post-metadata">

### Author: ![Andy\_Katz1](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/andy_katz1/32/150092_2.png) [@Andy\_Katz1](https://meta.discourse.org/u/Andy_Katz1)
#### Post date: [October 4, 2022, 1:42pm UTC](https://meta.discourse.org/t/users-self-select-category-on-registration-is-it-possible/240886/1 "2022-10-04T13:42:13Z")

</div>

Is there an option where a new user can select a category during the discourse registration process, which would automatically place them in that category after successful login?

Basically I have 2 primary site users, Students + Teachers, and I would like them to self-identify during the registration process, so they can be placed in the correct category automatically after sign-up.

Thanks!

---

<div class="post-metadata">

### Author: ![awesomerobot](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/awesomerobot/32/142900_2.png) [@awesomerobot](https://meta.discourse.org/u/awesomerobot)
#### Post date: [October 4, 2022, 2:08pm UTC](https://meta.discourse.org/t/users-self-select-category-on-registration-is-it-possible/240886/2 "2022-10-04T14:08:01Z")

</div>

Yes this should be possible with [Discourse Automation](https://meta.discourse.org/t/discourse-automation/195773) — the plugin includes an automation called “add user to group through custom field”

So at signup you could require a [custom field](https://meta.discourse.org/t/create-and-configure-custom-user-fields/113192) with the options “student” and “teacher”, and based on what a user selects they can be automatically added to the relevant user group. The user group can then be given access to specific categories (more info on this in [Understanding groups and category permissions](https://meta.discourse.org/t/understanding-groups-and-category-permissions-security-settings/87678))

---

<div class="post-metadata">

### Author: ![Andy\_Katz1](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/andy_katz1/32/150092_2.png) [@Andy\_Katz1](https://meta.discourse.org/u/Andy_Katz1)
#### Post date: [October 4, 2022, 2:12pm UTC](https://meta.discourse.org/t/users-self-select-category-on-registration-is-it-possible/240886/3 "2022-10-04T14:12:24Z")

</div>

Thank you!

I appreciate your help.

---

<div class="post-metadata">

### Author: ![Andy\_Katz1](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/andy_katz1/32/150092_2.png) [@Andy\_Katz1](https://meta.discourse.org/u/Andy_Katz1)
#### Post date: [October 4, 2022, 2:15pm UTC](https://meta.discourse.org/t/users-self-select-category-on-registration-is-it-possible/240886/4 "2022-10-04T14:15:40Z")

</div>

@awesomerobot just to confirm one thing.

It’s no issue to have SSO registration setup and simultaneously have Discourse registration.

Correct?

Both can be used to register users (SSO and Discourse), is my assumption.

---

<div class="post-metadata">

### Author: ![pfaffman](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/pfaffman/32/120154_2.png) [@pfaffman](https://meta.discourse.org/u/pfaffman)
#### Post date: [October 4, 2022, 3:18pm UTC](https://meta.discourse.org/t/users-self-select-category-on-registration-is-it-possible/240886/5 "2022-10-04T15:18:35Z")

</div>

> [@Andy\_Katz1](#):
>
> It’s no issue to have SSO registration setup and simultaneously have Discourse registration.
> 
> Correct?

Not correct. If you use discourse\_connect then it, and only it handles authentication. You can use multiple oauth sources (like google), but the first S in SSO is Single. And it means it.

---

<div class="post-metadata">

### Author: ![system](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/system/32/443519_2.png) [@system](https://meta.discourse.org/u/system)
#### Post date: [November 3, 2022, 3:18pm UTC](https://meta.discourse.org/t/users-self-select-category-on-registration-is-it-possible/240886/6 "2022-11-03T15:18:50Z")

</div>

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
