Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Inviting users django-allauth

There is a flow that I would like to introduce, we're already using allauth and wanted to try and make it work with allauth (potentially adding another package):

  1. New user is invited by specifying his email (only. no password required)
  2. The user gets an email, clicks on the invite link and gets to a form where his email is already filled-in, he needs to fill-in more fields such as password, first & last name and some custom fields that I will add to the User model
  3. User clicks on confirm and is logged-in, redirected to the root URL
like image 916
Avi Meir Avatar asked Feb 11 '15 10:02

Avi Meir


1 Answers

django-invitations is a generic invitations solution that was once a plugin to django-allauth but is now stand alone.

  • There is an admin interface which allows the creation of invites
  • The email sent to the user is based off a template which is easy to override
  • Url of account_signup is where the user gets directed to which you need to implement

Step 3, you will need to implement yourself

like image 104
oden Avatar answered Nov 01 '22 18:11

oden