Hi,

I would like to know if there is a way to limit the amount of token that a 
user can create?

I am using django-oauth2-toolkit to generate the token.
The user can hit the auth url  (http://localhost:8000/o/token/) as much as 
he wants and creates a new token everytime he goes to that url. 
This action will fill up my database with new valid token.

*How can i limit this token creation?*
*Should i limit this token creation? (like allowing 10 tokens by users to 
be able to log in my app from different devices)*

Thank you for your help.

Cyril

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-users+unsubscr...@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/286ddf12-387f-446b-ac4b-18e0d7298d1f%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to