[Django]-Django Oauth Toolkit 2-legged and 3-legged

0👍

Django Oauth Toolkit Official documentation example are mostly 3-legged(token used). 2-legged is something like you register an app in facebook/twitter and get api key and secret. Then you use those(key, secret) on your client app to access protected resources(no token is used).

Ref: https://django-oauth-toolkit.readthedocs.io/en/latest/rest-framework/getting_started.html

Register an application part and use those key, secret on oauth toolkit you can call 2-legged

Step 4-5 example of 3-lagged.

Leave a comment