madewithwagtail icon indicating copy to clipboard operation
madewithwagtail copied to clipboard

Django-allauth integration

Open mojeto opened this issue 8 years ago • 2 comments

  • Enables social account Sign Up and login.
    • Only Google for now.
  • Google social provider has to be configured manually in django admin after deploy.
  • It works with Wagtail for single site configuration (one site in django sites and one site in wagtail site)
  • I haven't tested it for multi site configuration.
  • Requires #68 to be fixed.
  • Sign In by standard credentials is allowed.
  • Adds an option to Sign Up (by Google or standard credentials).

Ref #70

mojeto avatar Jan 29 '18 22:01 mojeto

@mojeto I found out today that there is a WAGTAIL_PASSWORD_MANAGEMENT_ENABLED setting which should be disabled when authentication is handled by a third party. However I'm not sure how this applies here as if I remember correctly, we do both.

loicteixeira avatar Feb 26 '18 23:02 loicteixeira

Good spotting @loicteixeira . We allow user password authentication in allauth. So keeping WAGTAIL_PASSWORD_MANAGEMENT_ENABLED means we may set user password in admin - good to keep that option. I would think more about WAGTAIL_PASSWORD_RESET_ENABLED to be set to False otherwise we have two different pages to reset user password.

mojeto avatar Feb 27 '18 01:02 mojeto