Poll an active GitHub OAuth device flow
POST
/api/v1/player-releases/github/device/poll
const url = 'https://example.com/api/v1/player-releases/github/device/poll';const options = {method: 'POST'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request POST \ --url https://example.com/api/v1/player-releases/github/device/pollResponses
Section titled “ Responses ”Pending, connected, denied, or expired state
Device flow expired or was not found
GitHub authorization failure