Skip to content

revoke_token should invalidate all access tokens when get refresh token #229

@LennyLip

Description

@LennyLip

RFC7009 says

[...] If the particular token is a refresh token [...] then the authorization server SHOULD also invalidate all access tokens. If the token passed to the request is an access token, the server MAY revoke the respective refresh token as well.

Now, DOT not "also invalidate all access tokens", when i send a refresh token with revocation.

https://github.com/evonove/django-oauth-toolkit/blob/d2cde74695256a1251a575a377bbb34c759cacbf/oauth2_provider/oauth2_validators.py

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions