okpy / ok-client

A Python client for the OK autograding system
https://okpy.org/
Apache License 2.0
57 stars 42 forks source link

Fix: refresh the refresh_token #453

Closed itsvs closed 2 years ago

itsvs commented 4 years ago

Currently, ok-client doesn't acknowledge the fact that the refresh_token changes when used. This means that after the first automatic token refresh, a subsequent refresh will require manual approval (since the token will be incorrect). This PR should fix this issue.