We have dozens of students in Data 8 who have experienced
ERROR | auth.py:102 | {'error': 'invalid_grant'}
when trying to log into okpy from a Jupyter notebook (_ = ok.auth(inline=True)). I can't track down any commonality into what is causing this. The workaround/hack we have been using is to add force=True, but that is not ideal because then it requires them to reauthenticate every time. Also it seems like a kludge to paper over an issue, and it would be nice to understand what is causing this problem and fix it.
How would I go about debugging / troubleshooting this?
We have dozens of students in Data 8 who have experienced
ERROR | auth.py:102 | {'error': 'invalid_grant'}when trying to log into okpy from a Jupyter notebook (
_ = ok.auth(inline=True)). I can't track down any commonality into what is causing this. The workaround/hack we have been using is to addforce=True, but that is not ideal because then it requires them to reauthenticate every time. Also it seems like a kludge to paper over an issue, and it would be nice to understand what is causing this problem and fix it.How would I go about debugging / troubleshooting this?