fortigate_-_entra_id_saml_sso
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| fortigate_-_entra_id_saml_sso [2025/12/12 21:45] – oso | fortigate_-_entra_id_saml_sso [2025/12/13 00:22] (current) – [SAML Claim Mapping (Azure → FortiGate)] oso | ||
|---|---|---|---|
| Line 15: | Line 15: | ||
| * Download the **SAML Base64 Signing Certificate** | * Download the **SAML Base64 Signing Certificate** | ||
| + | ===== SAML Claim Mapping (Azure → FortiGate) ===== | ||
| + | |||
| + | FortiGate is strict about SAML attribute names. | ||
| + | The attributes defined in Azure **must match exactly** the attributes that FortiGate expects under: | ||
| + | < | ||
| + | set user-name | ||
| + | set group-name | ||
| + | </ | ||
| + | |||
| + | === Required Claims in Entra ID === | ||
| + | |||
| + | Under **Single Sign-On → User Attributes & Claims**: | ||
| + | |||
| + | **Add this claim** (FortiGate requires the literal name) | ||
| + | * Claim name: '' | ||
| + | |||
| + | **Edit the existing “groups” claim** so that it sends **Group Object IDs** (not display names). | ||
| + | * The expected claim name must be '' | ||
| + | |||
| + | {{: | ||
| + | |||
| + | This ensures that the SAML token contains: | ||
| + | < | ||
| + | username = user@domain | ||
| + | group = <Azure AD Group Object ID> | ||
| + | </ | ||
| + | |||
| + | === Why this matters === | ||
| + | |||
| + | FortiGate matches SAML attributes using the `user-name` and `group-name` fields in the IdP configuration: | ||
| + | |||
| + | < | ||
| + | set user-name " | ||
| + | set group-name " | ||
| + | </ | ||
| + | |||
| + | If the Azure claim sends the wrong attribute or the Object ID doesn' | ||
| + | |||
| + | https:// | ||
| ====== Create Test User and Security Group in Entra ID ====== | ====== Create Test User and Security Group in Entra ID ====== | ||
| * Create test user | * Create test user | ||
| Line 118: | Line 157: | ||
| * https:// | * https:// | ||
| * https:// | * https:// | ||
| + | * https:// | ||
fortigate_-_entra_id_saml_sso.1765575958.txt.gz · Last modified: 2025/12/12 21:45 by oso
