---
title: Authorization code
sidebar_custom_props:
    termName: Authorization code
    tags:
        - OAuth2/OIDC
    shortDescription: Short-lived code exchanged for tokens.
    longDescription: Returned to the client after user authorization and redeemed at the token endpoint for access, refresh, and optionally ID tokens.
---
