jazzband / django-oauth-toolkit

OAuth2 goodies for the Djangonauts!
https://django-oauth-toolkit.readthedocs.io
Other
3.06k stars 777 forks source link

How we can restrict tokens based on API version #1377

Open ygag-basil opened 6 months ago

ygag-basil commented 6 months ago

How can we restrict tokens based on the API version?

Suppose we have different versions of the OAuth token generation APIs, say v1 and v2.

How can we restrict the tokens generated in v1, that are not supposed to be correct or active when used with v2?