access
access copied to clipboard
[fix: Issue #11] handle 429 retry with value from X-Rate-Limit-Reset
A untested attempt at resolving https://github.com/discord/access/issues/11 "use Okta's response headers for rate limits".
I ran tox -e test and the linter passed, but I don't have an Okta API key handy to test the actual 429 behaviour. Happy for this to be the first attempt that someone else refactors/takes over.