Discussion:
Generate Token Using Code Instead of Curl from DOT
Foobar
2018-11-12 22:20:47 UTC
Permalink
How do I obtain a token from Django OAuth Toolkit using my Django code
instead of via a call to curl? I've registered an application and have a
client ID/secret. Also, my authorization grant type is authorization-code
not password. All the example I have seen use password and changing
password to authorization-code yields a 400 error. Any help would be
greatly appreciated. Thanks.
--
You received this message because you are subscribed to the Google Groups "Django REST framework" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-rest-framework+***@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Loading...