> For the complete documentation index, see [llms.txt](https://doc.commandersact.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://doc.commandersact.com/fr/configurer/administration/single-sign-on.md).

# Single Sign-On

Vous trouverez ci-dessous des informations et des instructions de configuration pour le Single Sign-On basé sur SAML avec Commanders Act.

## Présentation

Commanders Act prend en charge l’authentification et l’autorisation par Single Sign-On basé sur SAML 2.0.

<figure><img src="https://3282103337-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-Mk6XpTQ2LaRLcr2tA-d%2Fuploads%2Fgit-blob-26b3b4eef71989b27647ced7301b48dae31e4020%2Ffc15c751-6b66-4ade-9fd9-a631ff90edc7.png?alt=media" alt=""><figcaption><p>Diagramme de workflow de la fonctionnalité Single Sign-On.</p></figcaption></figure>

## Configuration

Pour configurer le Single Sign-On, Commanders Act a besoin du fichier metadata.xml de l’IDP ou des informations suivantes :

* Point de terminaison Single Sign-In
* Point de terminaison Single Sign-Out
* ID d’entité de l’IDP
* Clé publique de l’IDP (certificat X509)

Veuillez contacter un consultant Commanders Act pour lancer la configuration. Vous recevrez alors un paramètre de namespace `<name>` et l’ID du site `<id_site>` utilisés dans les points de terminaison et les attributs SAML suivants.

### Points de terminaison SAML

Vous trouverez ci-dessous un aperçu des points de terminaison de l’API SAML utilisés par Commanders Act.

**URL ACS/URL du point de terminaison**\
<https://platform.commandersact.com/saml2-acs/\\><name>

**URL de connexion**\
<https://platform.commandersact.com/saml/\\><name>

**ID d’entité SP/realm du partenaire**\
commanders-act

### Attributs SAML

Les attributs SAML suivants sont actuellement pris en charge. L’attribut email doit obligatoirement être envoyé.

| Attribut                   | Description                     | Type                                                                                                                                                                                             |
| -------------------------- | ------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
| firstname                  | Prénom de l’utilisateur         | facultatif, vide par défaut                                                                                                                                                                      |
| lastName                   | Nom de l’utilisateur            | facultatif, vide par défaut                                                                                                                                                                      |
| e-mail                     | Adresse e-mail de l’utilisateur | **obligatoire**                                                                                                                                                                                  |
| companyName                | Nom de l’entreprise             | facultatif, vide par défaut                                                                                                                                                                      |
| jobTitle                   | Intitulé du poste               | facultatif, vide par défaut                                                                                                                                                                      |
| mobileNumber               | Numéro de téléphone mobile      | facultatif, vide par défaut                                                                                                                                                                      |
| lang                       | Code de langue de l’utilisateur | facultatif, « en » par défaut                                                                                                                                                                    |
| commandersact\_\<id\_site> | Profil utilisateur appliqué     | <p><strong>obligatoire</strong>, valeurs possibles :</p><ul><li>administrator</li><li>technical</li><li>marketing</li><li>custom</li><li>readOnly</li><li>partnerAdmin</li><li>partner</li></ul> |

Ajoutez « administrator|accountmanager » pour activer l’autorisation « Account Manager » pour le rôle Administrator.

## FAQ

**Quelle est la durée de la session SAML ?**\
1 440 secondes.

**Quel protocole est utilisé pour l’authentification unique ?**\
SAML 2.0


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://doc.commandersact.com/fr/configurer/administration/single-sign-on.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
