Hi everyone,
I’ve been running into an issue with device code authentication where the timeout occurs too quickly, often before I can successfully authenticate. This has been a recurring problem, and I’m hoping to find a solution that can give me a bit more time to complete the process.
Does anyone have experience with extending these timeout periods, or are there any effective strategies to manage or avoid these timeouts altogether?
Thanks for your help!
1 Like
The limit is 30 minutes.
If they didn’t auth in 30 minutes the user likely won’t
If it’s timing out sooner then you likely have a double attempt occuring and ignoring the successful response and only seeing the code used response.
So whats the body of the response you are seeing when it “timeouts early”?
1 Like
It is documented, both in the Twitch docs
expires_in Int Time until the code is no longer valid
and the RFC for device code flow section 3.2
1 Like