python - How to do the last three steps in a Django allauth post-installation? -
i saw else had issue @ same part on year ago, no answer found.
i don't know these last 3 steps need of me.
- add site domain, matching settings.site_id (django.contrib.sites app).
- for each oauth based provider, add social app (socialaccount app).
- fill in site , oauth app credentials obtained provider.
here questions:
what site need add? i'm in development, , have no domain name, use local http://127.0.0.1:8000/
second part asks for: (i don't know enter of these)
- user
- provider
- uid
third part asks for:
- provider, drop down ones added installed apps (that shows up)
- client id (where google / facebook)
- secret key (where google / facebook)
- asks me add site (the 1 don't know info add in first step)
i looked other instructions, or guides, didn't find useful.
i using django 1.9 , python 3.5.
if memory serves, django-allauth , python social auth similar enough should still useful
for hostname, can 1 of 2 things:
- use 127.0.0.1:8080 (though think @ least providers complain)
- use sierra.kilo.com:8080 , put in /etc/hosts file (or windows equivalent) development
i suggest picking 1 provider start if memory serves, google pickier twitter configuration; have not used facebook.
this going depend on provider... twitter, go https://apps.twitter.com/ register app , therefore client id / secret key (and therefore add site). google, https://console.developers.google.com/projectselector/apis/credentials starting point register project , credentials
(just saw comment, obviates part spent time on, point 1 @ least useful part of question)
Comments
Post a Comment