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.

  1. add site domain, matching settings.site_id (django.contrib.sites app).
  2. for each oauth based provider, add social app (socialaccount app).
  3. fill in site , oauth app credentials obtained provider.

here questions:

  1. what site need add? i'm in development, , have no domain name, use local http://127.0.0.1:8000/

  2. second part asks for: (i don't know enter of these)

    • user
    • provider
    • uid
  3. 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

  1. for hostname, can 1 of 2 things:

    1. use 127.0.0.1:8080 (though think @ least providers complain)
    2. use sierra.kilo.com:8080 , put in /etc/hosts file (or windows equivalent) development
  2. i suggest picking 1 provider start if memory serves, google pickier twitter configuration; have not used facebook.

  3. 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

Popular posts from this blog

javascript - jQuery: Add class depending on URL in the best way -

caching - How to check if a url path exists in the service worker cache -

Redirect to a HTTPS version using .htaccess -