Skip to content

Commit 21eb634

Browse files
authored
Add SSO guide for Microsoft Entra / Azure (#623)
1 parent c69e333 commit 21eb634

18 files changed

+69
-1
lines changed

docs/sso-ms-entra.md

Lines changed: 67 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,67 @@
1+
---
2+
title: Configuring Microsoft Entra (Azure)
3+
---
4+
5+
import useBaseUrl from '@docusaurus/useBaseUrl';
6+
7+
Before configuring Microsoft Entra, you have to [initiate SSO setup in Plausible](sso#initiating-sso-setup-in-plausible).
8+
9+
- Sign in to your Microsoft Entra admin center as an Admin
10+
- Go to **Enterprise apps**
11+
12+
<img alt="MS Entra applications list" src={useBaseUrl('img/sso-entra-apps-empty.png')} />
13+
14+
- Click "**New Application**"
15+
16+
<img alt="MS Entra new application button" src={useBaseUrl('img/sso-entra-apps-empty-add-button.png')} />
17+
18+
- Click "**Create your own application**"
19+
20+
<img alt="MS Entra new application button" src={useBaseUrl('img/sso-entra-create-own-app.png')} />
21+
22+
- Put "Plausible" in the Input name field, pick "Integrate any other application you don't find in the gallery" and click "**Create**"
23+
24+
<img alt="MS Entra new application name" src={useBaseUrl('img/sso-entra-app-name.png')} />
25+
26+
- (Optional) Go to **Properties**, upload a [logo](/img/plausible_logo.png) and click "**Save**"
27+
28+
<img alt="MS Entra update logo" src={useBaseUrl('img/sso-entra-update-logo.png')} />
29+
30+
- Go to **Single sign-on** and click "**SAML**"
31+
32+
<img alt="MS Entra pick SAML" src={useBaseUrl('img/sso-entra-pick-saml.png')} />
33+
34+
- Click "**Edit**" next to **Basic SAML Configuration**
35+
36+
<img alt="MS Entra basic SAML config" src={useBaseUrl('img/sso-entra-basic-saml-button.png')} />
37+
38+
- Click "**Add identifier**" and enter Identifier obtained when [Initiating SSO Setup in Plausible](sso#initiating-sso-setup-in-plausible)
39+
40+
<img alt="MS Entra add Identifier" src={useBaseUrl('img/sso-entra-add-identifier.png')} />
41+
42+
- Click "**Add reply URL**" and enter Reply URL obtained when [Initiating SSO Setup in Plausible](sso#initiating-sso-setup-in-plausible) and click "**Save**"
43+
44+
<img alt="MS Entra add Reply URL" src={useBaseUrl('img/sso-entra-add-reply-url.png')} />
45+
46+
- Go to **Single sign-on** and click "**Edit**" next to **Attributes & Claims**
47+
48+
<img alt="MS Entra attributes button" src={useBaseUrl('img/sso-entra-attrs-button.png')} />
49+
50+
- Click on **emailaddress** claim, change **Name** to `email`, clear **Namespace** input, leave **Source** intact and click "**Save**"
51+
52+
<img alt="MS Entra email claim click" src={useBaseUrl('img/sso-entra-email-claim-click.png')} />
53+
54+
<img alt="MS Entra email claim edit" src={useBaseUrl('img/sso-entra-email-claim-edit.png')} />
55+
56+
- Repeat the same change for `givenname`, changing **Name** to `first_name` and for `surname`, changing **Name** to `last_name`. Remember to clear **Namespace** input
57+
58+
<img alt="MS Entra claims edited" src={useBaseUrl('img/sso-entra-claims-edited.png')} />
59+
60+
- Go to **Users and groups** to give access to Plausible to relevant users
61+
62+
<img alt="MS Entra users groups" src={useBaseUrl('img/sso-entra-users-groups.png')} />
63+
64+
- Go back to "**Single sign-on**" and keep this page open while moving on to [Finishing SAML SSO Setup in Plausible](sso#finishing-saml-sso-setup-in-plausible)
65+
66+
<img alt="MS Entra app details" src={useBaseUrl('img/sso-entra-app-details.png')} />
67+

docs/sso.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ Step-by-step instructions for commonly used identity providers:
9393

9494
- [Google Workspaces](sso-google-workspaces)
9595
- [Okta](sso-okta)
96-
- Microsoft Entra (Azure)
96+
- [Microsoft Entra (Azure)](sso-ms-entra)
9797

9898
### Finishing SAML SSO Setup in Plausible
9999

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-ms-entra', label: 'Configuring Microsoft Entra (Azure)' },
137138
{ type: 'doc', id: 'sso-okta', label: 'Configuring Okta' },
138139
],
139140
}
304 KB
Loading
298 KB
Loading
302 KB
Loading

static/img/sso-entra-app-name.png

299 KB
Loading
255 KB
Loading
261 KB
Loading
305 KB
Loading

0 commit comments

Comments
 (0)