-
-
Notifications
You must be signed in to change notification settings - Fork 794
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
Cannot revoke OAuth2 RefreshToken without related Token #625
Comments
ryanpetrello
added a commit
to ryanpetrello/django-oauth-toolkit
that referenced
this issue
Aug 6, 2018
ryanpetrello
added a commit
to ryanpetrello/django-oauth-toolkit
that referenced
this issue
Aug 6, 2018
ryanpetrello
added a commit
to ryanpetrello/django-oauth-toolkit
that referenced
this issue
Aug 6, 2018
ryanpetrello
added a commit
to ryanpetrello/django-oauth-toolkit
that referenced
this issue
Aug 6, 2018
ryanpetrello
added a commit
to ansible/django-oauth-toolkit
that referenced
this issue
Aug 6, 2018
jleclanche
pushed a commit
that referenced
this issue
Oct 12, 2018
jleclanche
pushed a commit
that referenced
this issue
Oct 17, 2018
jleclanche
pushed a commit
that referenced
this issue
Oct 17, 2018
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
SUMMARY
Django-OAuth-Toolkit supports deleting a token, but does not cascade on delete for it's RefreshToken anymore as of DOT 1.1.2. This creates an issue when you try to revoke a RefreshToken that no longer has an associated AccessToken. This will cause a traceback at this line.
Currently, users have no way to delete RefreshToken's as of DOT 1.1.2 given these circumstances, which is an issue because RefreshTokens can be used to issue a new AccessToken.
ENVIRONMENT
STEPS TO REPRODUCE
api/o/revoke_token
)^^ This all is as expected
Related Issue from AWX: ansible/awx#2044
The text was updated successfully, but these errors were encountered: