-3

I was looking to create a authentication, registration, password reset and email confirmation using Django.

Workflow:

  • Displays form to enter username, email address, password,
  • sends verification email, to email to be verified.
  • user is inactive until link verification is complete.
  • option to reset password through this page

I found this question posted in 2011 Django - authentication, registration with email confirmation

Summary:

Questions:

  • Since it is 2019 I thought to ask again and see what people recommend and use in 2019?
  • which do recommend and why? (easy of use, documentation, industry standard, involved community? etc.. )

thanks for the help

scafrs
  • 443
  • 8
  • 20
Lacer
  • 5,668
  • 10
  • 33
  • 45

1 Answers1

0

Your question is opinion based, so it will most likely get flagged as such - but I will try to answer anyways.

django-allauth is still, in my opinion, the best overall registration workflow for someone looking for social login or login with extra capabilities, such as email verification (which you seem to need). For regular login capabilities it is overkill, and you can just use the default django authentication for that. Don't forget you can always extend basic django authentication using custom authentication

If you are going to use django to create an API that serves react, swift, etc, you can also use django-rest-framework with an authentication package such as django-rest-knox to handle multiple token-based sessions.

Hybrid
  • 6,741
  • 3
  • 25
  • 45