|
| 1 | +--- |
| 2 | +title: Configuring Okta |
| 3 | +--- |
| 4 | + |
| 5 | +import useBaseUrl from '@docusaurus/useBaseUrl'; |
| 6 | + |
| 7 | +Before configuring Okta, you have to [initiate SSO setup in Plausible](sso#initiating-sso-setup-in-plausible). |
| 8 | + |
| 9 | +- Sign in to your Okta Admin console as an Admin |
| 10 | +- Go to **Applications** |
| 11 | + |
| 12 | + <img alt="Okta applications list" src={useBaseUrl('img/sso-okta-applications-empty.png')} /> |
| 13 | + |
| 14 | +- Click **Create App Integration**, pick **SAML 2.0** and click "**Next**" |
| 15 | + |
| 16 | + <img alt="Okta app integration selection" src={useBaseUrl('img/sso-okta-app-integration-select.png')} /> |
| 17 | + |
| 18 | +- Put "Plausible" in the App name field, optionally upload a [logo](/img/plausible_logo.png) and click "**Next**" |
| 19 | + |
| 20 | + <img alt="Google Workspace app details" src={useBaseUrl('img/sso-okta-app-name-logo.png')} /> |
| 21 | + |
| 22 | +- Put **Single sign-on URL** and **Audience URI** obtained when [Initiating SSO Setup in Plausible](sso#initiating-sso-setup-in-plausible) in respective inputs, leave **Name ID format** as "Unspecified", **Application username** set to "Okta username" and **Update application username on** to "Create and update" |
| 23 | + |
| 24 | + <img alt="Okta service provider configuration details" src={useBaseUrl('img/sso-okta-sp-details.png')} /> |
| 25 | + |
| 26 | +- Scroll down to **Attribute Statements**, click "**Add Another**" two times and set the following mappings: |
| 27 | + |
| 28 | + - `first_name`: `user.firstName` |
| 29 | + - `last_name`: `user.lastName` |
| 30 | + - `email`: `user.email` |
| 31 | + |
| 32 | + The configured attributes should look like below: |
| 33 | + |
| 34 | + <img alt="Okta attribute statements" src={useBaseUrl('img/sso-okta-attr-statements.png')} /> |
| 35 | + |
| 36 | +- Scroll down and click "**Next**" |
| 37 | +- Click "**Finish**" in the final setup wizard step |
| 38 | + |
| 39 | + <img alt="Okta feedback step" src={useBaseUrl('img/sso-okta-feedback.png')} /> |
| 40 | + |
| 41 | +- Go to "**Assignments**" tab and give People or Groups access to Plausible |
| 42 | + |
| 43 | + <img alt="Okta assignments" src={useBaseUrl('img/sso-okta-assignments.png')} /> |
| 44 | + |
| 45 | +- Go back to "**Sign On**" tab and click "**More details**" under SAML 2.0 settings |
| 46 | + |
| 47 | + <img alt="Okta app overview" src={useBaseUrl('img/sso-okta-app-overview.png')} /> |
| 48 | + |
| 49 | +- Keep this page open while moving on to [Finishing SAML SSO Setup in Plausible](sso#finishing-saml-sso-setup-in-plausible) |
| 50 | + |
| 51 | + <img alt="Okta app overview" src={useBaseUrl('img/sso-okta-app-details.png')} /> |
| 52 | + |
0 commit comments