Authorization: Bearer ********************curl --location --request POST '/oauth2/token' \
--header 'Authorization: Bearer <token>' \
--data-urlencode 'grant_type=authorization_code' \
--data-urlencode 'code=SplxlOBeZQQYbYS6WxSbIA' \
--data-urlencode 'redirect_uri=https://client.example.com/cb' \
--data-urlencode 'client_id=client_app' \
--data-urlencode 'client_secret=secret_123456' \
--data-urlencode 'scope=api:read api:write' \
--data-urlencode 'refresh_token=tGzv3JOkF0XG5Qx2TlKWIA' \
--data-urlencode 'code_verifier=high-entropy-cryptographic-random-string' \
--data-urlencode 'username=admin' \
--data-urlencode 'password=123456'{
"access_token": "eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9...",
"token_type": "Bearer",
"expires_in": 7200,
"scope": "api:read user:profile",
"refresh_token": "rt_8a9sf89as8fd9a8s...",
"id_token": "eyJhbGciOiJSUzI1NiIsImtp..."
}