# Okta SSO

{% hint style="warning" %}
The following steps describe the state of Okta at the time of creating this instruction. The Okta interface may change, so for the most up-to-date information, refer to the official [source](https://help.okta.com/en-us/content/topics/apps/apps_app_integration_wizard_oidc.htm)
{% endhint %}

To log in to the AppSec portal through your Okta provider, follow these steps:

1. In the Okta admin panel, navigate to the "**Applications**" tab.
2. Click "**Create App integration**"

<figure><img src="https://3069717380-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-M81VrXQrfSaYjNIFOtt%2Fuploads%2FhUyXUL5cX7GWJsVYCQhN%2Fokta1.png?alt=media&#x26;token=877ea472-3e4f-45f6-8c46-64b914687df7" alt=""><figcaption></figcaption></figure>

3. In Sign-in method select **OIDC - OpenID Connect** option
4. In Application type choose **Web Application**
5. Click **Next**
6. Fill in the fields:&#x20;

* **App integration name** - Enter the name of the application as desired
* **Grant type** - Chose Authorization Code
* **Sign-in redirect URIs** - Enter \_\*\*<https://portal-dev.whitespots.io/oauth2/callback**_&#x20>;
* **Sign-out redirect URIs** - Should be left unfilled
* **Controlled access** - Select an option for your users that matches your policy or business process (e.g., "Allow everyone in your organization to access," "Limit access to selected groups," or "Skip group assignment for now")
* Click "**Save** "

<figure><img src="https://3069717380-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-M81VrXQrfSaYjNIFOtt%2Fuploads%2F9hsUSkQfzns35ZEG4V41%2FOkta%20corr.gif?alt=media&#x26;token=704b7532-0f74-4441-a440-86b5c06333a9" alt=""><figcaption></figcaption></figure>

Use the data created for your application to [configure ](https://docs.whitespots.io/appsec-portal/general-portal-settings/sso-settings)SSO integration in the AppSec portal:

* **Domain**: See user info
* **Client ID**: \<Client ID>
* **Client Secret**: \<CLIENT SECRETS (Secret)>

<figure><img src="https://3069717380-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-M81VrXQrfSaYjNIFOtt%2Fuploads%2FY4qYyGxG90oLpAFTiDCa%2Fokta2.png?alt=media&#x26;token=6656415c-f0c5-4be1-89d3-3408cc7ba0b3" alt=""><figcaption></figcaption></figure>

These settings will allow you to use your Okta provider to log in to the AppSec portal
