Skip to main content
Exchange an OAuth code for a login token

Query Parameters

code
string
required

One-time code the finished OAuth flow appended to the application's own callback address.

Minimum string length: 1
Example:

"9b1deb4d-3b7d-4bad-9bdd-2b0d7b3dcb6d"

Response

Returns the login token the code stands for. A code that cannot be exchanged yields an answer with no token in it.

token
string

Token value produced by the endpoint. Its meaning and format depend on the endpoint - treat it as an opaque string and pass it on unchanged.