authentication

Exchange Auth Code

Exchange a short-lived authorization code for JWT tokens.

The frontend calls this endpoint server-to-server after receiving the authorization code via redirect. The code is single-use and expires after 60 seconds.

post/auth/exchange

Request

  • Base URL: https://api.codeofpaper.com (the document declares no server; this is the origin it was published from)
  • URL: https://api.codeofpaper.com/auth/exchange
  • Auth: none declared

Query parameters

codestring required

Authorization code from OAuth callback

Response

Successful Response

unknown required

Changes

No recorded changes to this operation across all 1 revision of this API.