🇫🇷 Français | 🇬🇧 English
Present the main security recommendations for integrating L’Identité Numérique La Poste.
👉 This page complements the OpenID Connect technical documentation.
The partner remains responsible for:
LINLP secures authentication, but the integration must also be secured on the partner side.
⚠️ Mandatory
Sensitive calls must be performed server-side:
👉 The `client_secret` must never be exposed on the frontend.
⚠️ All exchanges must be protected through HTTPS:
The partner must validate `id_token` values:
👉 See: Token Validation
⚠️ Strong recommendation
The `id_token` constitutes:
👉 It should be retained according to the partner’s internal policies.
The partner must protect application sessions:
Restrict access to:
Keep appropriate records:
⚠️ Comply with GDPR rules and internal retention policies.
Apply the minimization principle:
| Bad Practice | Risk |
|---|---|
| Unverified JWT | Impersonation |
| Secret exposed in frontend | Compromise |
| Long session without controls | Session theft |
| Too many requested scopes | Excessive data collection |
👉 Validate JWTs: