---
title: User assignment to specific group
slug: user-assignment-to-specific-group
docTags: 
createdAt: 2026-01-16T07:07:53.079Z
---

## Step-by-Step: Configure Default Group Mapping via Okta SSO

### 1. Configure Attribute in Okta Directory

1. Log in to the **Okta Admin Portal**
2. From the left panel, go to **Directory**
3. Select **Profile Editor**
4. Choose **Default Workspace**
5. Click **Add Attribute**
6. Fill in the details as follows:
   - **Data Type:** String
   - **Display Name:** DefaultGroup
   - **Variable Name:** DefaultGroup
     This will automatically be exposed as user.defaultGroup
7. **Copy the variable name**: user.defaultGroup
8.

![](https://api.archbee.com/api/optimize/kXX8wW2Q83jcfcYN8-FeX/IVresRYQs8Gz3Y9Bl6hQs_.blob)

![]()

Click **Save**
****






### 2. Configure Attribute in the Okta SSO Application

1. Open the **SSO Application** in Okta
2. Go to the **Attribute Mappings** section
3. Add a new attribute using the copied variable name:

![](https://api.archbee.com/api/optimize/kXX8wW2Q83jcfcYN8-FeX/8vutI-iLAK9oEzS2MS2oK_.blob)

:::Paragraph{listStyleType="circle" indent="2"}
**Example:** user.defaultGroup
:::

Save the changes








### 3. Map Attribute in Clearsquare Portal

![](https://api.archbee.com/api/optimize/kXX8wW2Q83jcfcYN8-FeX/hxX52913xkrg39W5i2pEP_.blob)

1. Log in to the **Clearsquare Portal**
2. Navigate to **SSO > Map SSO to Group**

Paste the variable name:    `user.defaultGroup`


Save the configuration







### 4. Assign Group Value to a User in Okta

1. In Okta, go to the **Users** section
2. Open any user’s **Details Page**
3. Inside the **User Attributes** section, click **Edit**
4. Scroll down to find the newly added field **DefaultGroup**
5. Enter the **exact group name** as it exists in the Clearsquare Portal
   - **Example:** Default

![](https://api.archbee.com/api/optimize/kXX8wW2Q83jcfcYN8-FeX/PENuUO7O_y_yyoT02QvAm_.blob)





Save the user profile





