Skip to main content
GET
Complete the Canvas LMS API authorization handoff

Query Parameters

code
string
required

Canvas OAuth authorization code to exchange for an access token.

state
string
required

The single-use value of the sign-in link (64 hexadecimal characters). It does not identify the person: an unknown, expired or already used value is refused.

error
string

Set by Canvas when the person declines the consent screen (the link is then spent).

error_description
string

Human-readable failure reason that accompanies error.

Response

Canvas token stored. An HTML page that sends the person back to the app.

The response is of type string.