Skip to main content
POST
Poll Device Token
Poll this endpoint after the user has entered their device code at GitHub’s verification URL.

Body

string
required
The device code from the initial request.

Response

Returns the GitHub access token when the user has authorized, or an error if still pending.
string
GitHub access token (when authorized).
string
authorization_pending if user hasn’t authorized yet, slow_down if polling too fast.