Yolocode

Poll Device Token

Poll for access token after device flow authorization

Poll this endpoint after the user has entered their device code at GitHub's verification URL.

Body

device_codestringrequired(body)

The device code from the initial request.

Response

Returns the GitHub access token when the user has authorized, or an error if still pending.

access_tokenstring

GitHub access token (when authorized).

errorstring

authorization_pending if user hasn't authorized yet, slow_down if polling too fast.

On this page