> ## Documentation Index
> Fetch the complete documentation index at: https://translations.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

> Découvrez comment le pipeline conforme à OIDC a une incidence sur votre utilisation des jetons d’actualisation.

# Jetons d’actualisation avec OIDC

Avec le pipeline conforme à OIDC, les <Tooltip tip="Jeton d’actualisation : jeton utilisé pour obtenir un nouveau jeton d’accès sans obliger les utilisateurs à se connecter de nouveau." cta="Voir le glossaire" href="/docs/fr-ca/glossary?term=refresh+tokens">jetons d’actualisation</Tooltip> :

* Ne sont plus renvoyés lorsque vous utilisez l’[octroi implicite](/docs/fr-ca/get-started/authentication-and-authorization-flow/implicit-flow-with-form-post) pour l’authentification.
* Peuvent être utilisés par les [applications confidentielles](/docs/fr-ca/get-started/applications/confidential-and-public-applications).
* Peuvent être utilisés avec la [rotation des jetons d’actualisation](/docs/fr-ca/secure/tokens/refresh-tokens/refresh-token-rotation) par les applications publiques lorsqu’elles utilisent le flux du code d’autorisation avec PKCE.
* Doivent utiliser le point de terminaison [`/oauth/token`](https://auth0.com/docs/api/authentication#refresh-token) pour obtenir de nouveaux jetons, puisque le point de terminaison [`/delegation`](https://auth0.com/docs/api/authentication#delegation) est obsolète.

De plus, la structure des jetons d’actualisation présente certaines différences. Pour en savoir plus, consultez [Jetons d’actualisation](/docs/fr-ca/secure/tokens/refresh-tokens).

<div id="legacy-delegation">
  ## Version héritée (délégation)
</div>

```json lines theme={null}
POST /delegation
Content-Type: 'application/json'
{
  "grant_type": "urn:ietf:params:oauth:grant-type:jwt-bearer",
  "client_id": "...",
  "refresh_token": "...",
  "scope": "openid profile"
}
```

<div id="oidc-conformant-token-endpoint">
  ## Conforme à OIDC (point de terminaison du jeton)
</div>

```http lines theme={null}
POST /oauth/token
Content-Type: application/x-www-form-urlencoded
grant_type=refresh_token&refresh_token=123&client_id=123&client_secret=123&scope=openid+profile&audience=https%3A%2F%2Fapi.example.com
```

* Les paramètres `audience` et `client_secret` sont facultatifs.
* `client_secret` n’est pas requis pour demander un `refresh_token` pour une application publique.

<Warning>
  Les jetons d’actualisation doivent demeurer confidentiels pendant leur transit et leur stockage, et ne doivent être partagés qu’entre le serveur d’autorisation et le client auquel ils ont été émis.
</Warning>

<div id="learn-more">
  ## En savoir plus
</div>

* [Jetons d’accès avec OIDC](/docs/fr-ca/authenticate/login/oidc-conformant-authentication/oidc-adoption-access-tokens)
* [API externes avec OIDC](/docs/fr-ca/authenticate/login/oidc-conformant-authentication/oidc-adoption-apis)
* [Flux du code d’autorisation avec OIDC](/docs/fr-ca/authenticate/login/oidc-conformant-authentication/oidc-adoption-auth-code-flow)
* [Flux des identifiants du client avec OIDC](/docs/fr-ca/authenticate/login/oidc-conformant-authentication/oidc-adoption-client-credentials-flow)
* [Délégation avec OIDC](/docs/fr-ca/authenticate/login/oidc-conformant-authentication/oidc-adoption-delegation)
* [Flux implicite avec OIDC](/docs/fr-ca/authenticate/login/oidc-conformant-authentication/oidc-adoption-implicit-flow)
