Django OAuth Toolkit
Create authorization link
Stupid API client (deprecated)
Register an Application
Test your OAuth2 provider, I'll be your consumer
(At this point, you should have created an Application instance on your side, up and running.)
Build an authorization link for your provider
Your Application's client_id field.
The url to the authorization page, it's ok if it points to localhost (e.g. http://localhost:8000/o/authorize).