Instagram uses OAuth v2 for Authentication
Register a new application at the Instagram API, and
fill Client Id and Client Secret values in the settings:
INSTAGRAM_CLIENT_ID = ''
INSTAGRAM_CLIENT_SECRET = ''
Note: Instagram only allows one callback url so you’ll have to change your urls.py to accomodate both /complete and /associate routes, for example by having a single /associate url which takes a ?complete=true parameter for the cases when you want to complete rather than associate.