> ## Documentation Index
> Fetch the complete documentation index at: https://cosmo-docs.wundergraph.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Okta

> Configure SCIM with Okta.

### Steps to set up SCIM with Okta

**Step 1**

Set up the password policy (password should contain at least one number and one symbol), if using the **Classic Engine on Okta** follow the below steps\*\*,\*\* or if using the  **OIE engine,**follow the steps as mentioned in this  [**Okta guide**](https://help.okta.com/oie/en-us/content/topics/identity-engine/authenticators/configure-password.htm)**.**

* Navigate to Security -> Authentication on your Okta Administrator Dashboard.

* Click Edit and update the password policy by enabling Number and Symbol, then click on Update Policy.

![Okta application settings](https://mintcdn.com/wundergraphinc/I3TSvdyim5FfuVLX/images/studio/scim/okta-password-policy-configuration.png?fit=max\&auto=format\&n=I3TSvdyim5FfuVLX\&q=85\&s=42347ce8e07936f5916b0950563d65d8)

**Step 2**

Navigate to the Applications view within your Okta Administrator Dashboard.

**Step 3**

Click on **Create App Integration**.

![Okta sign-on configuration](https://mintcdn.com/wundergraphinc/I3TSvdyim5FfuVLX/images/studio/scim/okta-app-integration-creation.png?fit=max\&auto=format\&n=I3TSvdyim5FfuVLX\&q=85\&s=fdb17ffab54a897ba1cf69792b64196d)

**Step 4**

A dialog appears, select SWA - Secure Web Authentication and then click **Next.**

![SCIM provisioning settings](https://mintcdn.com/wundergraphinc/I3TSvdyim5FfuVLX/images/studio/scim/okta-swa-app-integration-setup.png?fit=max\&auto=format\&n=I3TSvdyim5FfuVLX\&q=85\&s=bb184c160d77f70c59b1f5f86e7f6c8a)

**Step 5**

Now give the app a name and populate the app's login URL with [**https://cosmo.wundergraph.com/login**](https://cosmo.wundergraph.com/login)**.**

**Step 6**

For "**Who sets the credentials**", select **Administrator sets username, user sets password.**

**Step 7**

For the **application username**, select **Email** and then click **Finish.**

![SCIM user provisioning actions](https://mintcdn.com/wundergraphinc/I3TSvdyim5FfuVLX/images/studio/scim/swa-integration-setup-for-test-app.png?fit=max\&auto=format\&n=I3TSvdyim5FfuVLX\&q=85\&s=d8b66058ec61e5a84f2cd6d76899c94d)

**Step 8**

Now navigate to the **General** tab, click on **Edit** in **App settings.**

**Step 9**

Enable  **SCIM provisioning**and then click on **Save.**

![SCIM connector test result](https://mintcdn.com/wundergraphinc/I3TSvdyim5FfuVLX/images/studio/scim/test-app-provisioning-settings.png?fit=max\&auto=format\&n=I3TSvdyim5FfuVLX\&q=85\&s=27adf3f7e172d34d27769e6b6ea60e0a)

**Step 10**

Navigate to the settings page on WunderGraph Cosmo and enable **SCIM.**

![Provisioning to app settings](https://mintcdn.com/wundergraphinc/I3TSvdyim5FfuVLX/images/studio/scim/enable-generative-ai-in-cosmo-settings.png?fit=max\&auto=format\&n=I3TSvdyim5FfuVLX\&q=85\&s=01e2feb1ccc2fe0b334da6e7e7734295)

**Step 11**

Once SCIM is enabled, you will be provided with a  **SCIM Server URL,**copy it**.**

**Step 12**

Navigate to the API Keys page on WunderGraph Cosmo and click on New API Key.

**Step 13**

Provide the key with a name, select **Never** for **Expires,** then select  **SCIM** under **Permissions**, then click on **Generate API key.**

![SCIM key generation screen](https://mintcdn.com/wundergraphinc/I3TSvdyim5FfuVLX/images/studio/scim/create-scim-api-key-for-project.png?fit=max\&auto=format\&n=I3TSvdyim5FfuVLX\&q=85\&s=f92fc99cc431e1dc1df97350b47c9ab3)

**Step 14**

Copy the API key provided.

**Step 15**

Navigate to the provisioning tab of the app created on okta, then click on **Edit**.

![Okta assignments screen](https://mintcdn.com/wundergraphinc/I3TSvdyim5FfuVLX/images/studio/scim/scim-connection-setup-in-okta.png?fit=max\&auto=format\&n=I3TSvdyim5FfuVLX\&q=85\&s=15660fbde7af31d08043673f9ac4e9c7)

**Step 16**

Populate the **SCIM connector base URL** with the copied **SCIM server URL** .

**Step 17**

Populate the **Unique identifier field for users** with **"email".**

**Step 18**

Select **Import New Users and Profile Updates, Push New Users and Push Profile Updates** for **Supported provisioning actions.**

**Step 19**

Select  **HTTP Header**for **Authentication Mode.**

**Step 20**

Populate the **Authorization** field  under HTTP Header with the above-copied API key.

![Okta user profile](https://mintcdn.com/wundergraphinc/I3TSvdyim5FfuVLX/images/studio/scim/scim-connection-configuration-for-test-app.png?fit=max\&auto=format\&n=I3TSvdyim5FfuVLX\&q=85\&s=5d4ede5459bd7eb0982a4bd4ada32462)

**Step 21**

Click on Test Connector Configuration, a dialog will appear showing the connector is configured successfully, click Close.

![Okta group provisioning overview](https://mintcdn.com/wundergraphinc/I3TSvdyim5FfuVLX/images/studio/scim/connector-configuration-test-successful.png?fit=max\&auto=format\&n=I3TSvdyim5FfuVLX\&q=85\&s=3cd099a8a0737facf88257d6c8cd6bb3)

**Step 22**

Click on **Save.**

**Step 23**

Navigate to the "**to App"** tab\*\*, and\*\* click on **Edit.**

![To App configuration for test app](https://mintcdn.com/wundergraphinc/I3TSvdyim5FfuVLX/images/studio/scim/to-app-configuration-for-test-app.png?fit=max\&auto=format\&n=I3TSvdyim5FfuVLX\&q=85\&s=71f101a758dd047eb9757fe7ce03b2a7)

**Step 24**

Enable  **Create Users, Update User Attributes, Deactivate Users**and **Sync Password.**

**Step 25**

Under **Sync Password** for **Password type**, select **Sync Okta Password.**

![Provisioning to App setup for user creation](https://mintcdn.com/wundergraphinc/I3TSvdyim5FfuVLX/images/studio/scim/provisioning-to-app-setup-for-user-creation.png?fit=max\&auto=format\&n=I3TSvdyim5FfuVLX\&q=85\&s=68b0c669f92825ef711b2a88b7d7e27b)

**Step 26**

Click **save.**

**Step 27**

Now you can navigate the Assignments tab and assign users/groups who should have access to WunderGraph Cosmo.

> [!NOTE]
>
> If you are using both **SSO with OIDC** and **SCIM**, please make sure that the users assigned in both apps are the same.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.