django-oauth

Generating single access token with Django OAuth2 Toolkit

Generating single access token with Django OAuth2 Toolkit Question: I’m using the latest Django OAuth2 Toolkit (0.10.0) with Python 2.7, Django 1.8 and Django REST framework 3.3 While using the grant_type=password, I noticed some weird behavior that any time the user asks for a new access token: curl -X POST -d “grant_type=password&username=<user_name>&password=<password>” -u”<client_id>:<client_secret>” http://localhost:8000/o/token/ A …

Total answers: 4