---
search:
  tags:
    - OAuth2Provider Recipe
    - POST
seo:
  description: >-
    Exchanges an OAuth2 grant (e.g.: authorization code) for an… Reference for
    the POST /{apiBasePath}/oauth/token endpoint in the Frontend Driver
    Interface API.
sidebar:
  badge: POST
  label: Exchange OAuth grant
title: Exchange OAuth grant
type: openapi-operation
---
Exchanges an OAuth2 grant (e.g.: authorization code) for an access token (and optionally a refresh/id token) - for a detailed description of all input parameters please see the OAuth2 and OpenID Connect Core specs

<Operation source="references-fdi" id="oauthtokenpost" />
