liqd / a4-product

A modern online participation platform for everyone developed by Liquid Democracy
http://beteiligung.in
GNU Affero General Public License v3.0
16 stars 3 forks source link

Mn 2019 09 add social logins #999

Closed MagdaN closed 5 years ago

MagdaN commented 5 years ago

At the moment only gihub is added as social provider. To add you

  1. add an github provider on github (here: https://github.com/settings/developers, as callbackurl use 'http://127.0.0.1:8004/accounts/github/login/callback/', also use http://127.0.0.1 instead everywhere)

  2. create a social app in your django admin: /django-admin/socialaccount/socialapp/ with the data from the github provieder you just created

  3. in your django admin sites (/django-admin/sites/site/) make sure you have an entry with id=1, with domainname=http://127.0.0.1:8004

After this there should be a github login button underneath the login form. After you logged in via Github you can remove the github connection in your account settings (/accounts/social/connections/)