# Okta

### Step 1: Choose your SSO provider

In Avion, go to your organization's **Single Sign-On** section. Select **Okta** from the list of available providers:

![](https://3578170569-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LL6HR00hwiJJav4pLph%2Fsync%2F02225f9399064b36b96d9edcb4d32c33295ef0ec.png?generation=1620319081755486\&alt=media)

### Step 2: Configure SSO

In Okta, from the Applications menu, **create a new application**:

1. Choose the **Web** platform
2. Select **OpenID Connect** as the sign on method
3. Hit the **Create** button

![](https://3578170569-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LL6HR00hwiJJav4pLph%2Fsync%2F4df6e56d095d30f5f91b339dcd41badd68e0204d.png?generation=1620319084398853\&alt=media)

On the following screen in Okta:

1. Set the application name to **Avion**
2. Copy across your specific **Redirect URL** from the Avion configuration form into the Application form in Okta
3. Optionally download our Avion logo (below) and set this as the **Application Logo** in Okta
4. Hit the **Save** button and continue

{% file src="<https://3578170569-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LL6HR00hwiJJav4pLph%2Fuploads%2F1KDWnHO4sSCLp6X6ycJn%2Favion-logo-sso.png?alt=media&token=5c2c1e7d-1668-4e8b-9a7e-e20e7e8b5b37>" %}

![](https://3578170569-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LL6HR00hwiJJav4pLph%2Fsync%2F7a9769f6753d2d077d427ae32f60c68f6fe74bdf.png?generation=1620319080291766\&alt=media)

On the following screen, in Okta, copy and paste the **Client ID**, **Client Secret**, and **Okta Domain** into the Avion configuration form:

![](https://3578170569-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LL6HR00hwiJJav4pLph%2Fsync%2Ff0da4cbfc82e6672c9cdcde089bfea0400bc9ae4.png?generation=1620319081074487\&alt=media)

Finally, in Okta, edit the **General Settings** section, and tick the **Refresh Token** option in the Allowed grant types:

![](https://3578170569-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LL6HR00hwiJJav4pLph%2Fsync%2F995b8681a19518e68c1af35d20eb0e7a7610cff5.png?generation=1620319080574962\&alt=media)

Then, in Okta, scroll down to the bottom and hit the **Save** button. Finally, in Avion, hit **Save Configuration** and you're done! 🎉
