Skip to content

Commit c69e333

Browse files
authored
Add guide for configuring SSO in Okta (#622)
1 parent 71e66f9 commit c69e333

12 files changed

+54
-1
lines changed

docs/sso-okta.md

Lines changed: 52 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,52 @@
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+

docs/sso.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ When setting up SAML SSO for any other identity provider, please keep the follow
9292
Step-by-step instructions for commonly used identity providers:
9393

9494
- [Google Workspaces](sso-google-workspaces)
95-
- Okta
95+
- [Okta](sso-okta)
9696
- Microsoft Entra (Azure)
9797

9898
### Finishing SAML SSO Setup in Plausible

sidebars.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -134,6 +134,7 @@ module.exports = {
134134
items: [
135135
{ type: 'doc', id: 'sso', label: 'Overview' },
136136
{ type: 'doc', id: 'sso-google-workspaces', label: 'Configuring Google Workspaces' },
137+
{ type: 'doc', id: 'sso-okta', label: 'Configuring Okta' },
137138
],
138139
}
139140
],
294 KB
Loading
209 KB
Loading
184 KB
Loading
321 KB
Loading
205 KB
Loading
252 KB
Loading
188 KB
Loading

0 commit comments

Comments
 (0)