Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Invalid grant: Token revoked (HTTP error 403 ERR_BAD_REQUEST) #26

Open
Underlyingglitch opened this issue Sep 7, 2022 · 0 comments
Open

Comments

@Underlyingglitch
Copy link
Contributor

I managed to get my access_token and refresh_token using the steps needed for SSO authentication.

The access_token is valid for 1 hour, during which I can make requests without any issues.

However after that period things start to become a problem. Sometimes requesting a new access_token using the refresh_token works without any issues. However more often I get the error as described in the title.

I believe to have read somewhere that the refresh_tokens are valid for 30 days. However I can't find this anywhere anymore. Now it seems unlikely that the token has expired since I'm using it within 2-3 hours from the original request.

One other option could be that I'm accidentally using the refresh_token twice. Sometimes you seem to be able to use them twice, other times they're single use only?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant