[BUG]: Handle 403 responses same as 401 responses in the first 3 seconds after an installation access token was created #589
Labels
Type: Bug
Something isn't working as documented, or is being fixed
What happened?
This is a follow up to
Related to this code
auth-app.js/src/hook.ts
Lines 108 to 152 in d3d9133
I learned today that we also have to handle 403 response, the reason is as follows
We also heard from a partner that they 5s timeout might not be sufficient, but that is something we could address in a follow up. Instead of the hardcoded 5s timeout, we could provide a callback for users to provide more sophisticated retries.
Versions
Latest Node, latest octokit
Relevant log output
No response
Code of Conduct
The text was updated successfully, but these errors were encountered: