Authorization Code Test

The authorization code flow is used by server-side applications. It uses the secret key, which must be secured client side, and requires interactive user authorization. The refresh token can have a longer expiration and be used to generate a new access token after one expires.


Server-Side Application

  1. Authorize access and generate access token
  2. Make API request to protected resource
  3. Get new access token from refresh token
  4. Make another API request to protected resource
Access Token:
Refresh Token:
API Response: