All Projects → djaodjin → djaodjin-signup

djaodjin / djaodjin-signup

Licence: BSD-2-Clause license
Django app for frictionless signup

Programming Languages

python
139335 projects - #7 most used programming language
javascript
184084 projects - #8 most used programming language
HTML
75241 projects
Makefile
30231 projects

Projects that are alternatives of or similar to djaodjin-signup

Overlappredator
[CVPR 2021, Oral] PREDATOR: Registration of 3D Point Clouds with Low Overlap.
Stars: ✭ 106 (+488.89%)
Mutual labels:  registration
Yii2 Angular Boilerplate
Yii2 REST API + Angular10 Boilerplate (Frontend/Backend)
Stars: ✭ 194 (+977.78%)
Mutual labels:  registration
Laravel Auth
Laravel 8 with user authentication, registration with email confirmation, social media authentication, password recovery, and captcha protection. Uses offical [Bootstrap 4](http://getbootstrap.com). This also makes full use of Controllers for the routes, templates for the views, and makes use of middleware for routing. The project can be stood u…
Stars: ✭ 2,692 (+14855.56%)
Mutual labels:  registration
Registration Login Spring Xml Maven Jsp Mysql
Registration and Login Example with Spring MVC, Spring Security, Spring Data JPA, XML Configuration, Maven, JSP, and MySQL.
Stars: ✭ 134 (+644.44%)
Mutual labels:  registration
Relay Authentication
An example app demonstrating role based authentication and file upload with Relay and GraphQL.
Stars: ✭ 153 (+750%)
Mutual labels:  registration
Registration Login Spring Hsql
Registration and Login Example with Spring Security, Spring Boot, Spring Data JPA, HSQL, JSP
Stars: ✭ 208 (+1055.56%)
Mutual labels:  registration
Appy Backend
A user system to bootstrap your app.
Stars: ✭ 96 (+433.33%)
Mutual labels:  registration
registration
✏️ Hackathon registration server
Stars: ✭ 60 (+233.33%)
Mutual labels:  registration
3d Pointcloud
Papers and Datasets about Point Cloud.
Stars: ✭ 179 (+894.44%)
Mutual labels:  registration
Cupoch
Robotics with GPU computing
Stars: ✭ 225 (+1150%)
Mutual labels:  registration
Php Login System
Embeddable and Secure PHP Authentication System with Login, Signup, User Profiles, Profile Editing, Account Verification via Email, Password Reset System, Remember-Me Feature and more.
Stars: ✭ 135 (+650%)
Mutual labels:  registration
D3feat
[TensorFlow] Implementation of CVPR'20 oral paper - D3Feat: Joint Learning of Dense Detection and Description of 3D Local Features https://arxiv.org/abs/2003.03164
Stars: ✭ 143 (+694.44%)
Mutual labels:  registration
Deepglobalregistration
[CVPR 2020 Oral] A differentiable framework for 3D registration
Stars: ✭ 222 (+1133.33%)
Mutual labels:  registration
Awesome Gan For Medical Imaging
Awesome GAN for Medical Imaging
Stars: ✭ 1,814 (+9977.78%)
Mutual labels:  registration
Django Rest Registration
User-related REST API based on the awesome Django REST Framework
Stars: ✭ 240 (+1233.33%)
Mutual labels:  registration
Pelock Software Protection And Licensing Sdk
Software copy protection against cracking & reverse engineering with anti-cracking & anti-debugging techniques. Software license key system with time trial options.
Stars: ✭ 109 (+505.56%)
Mutual labels:  registration
Django Graphql Auth
Django registration and authentication with GraphQL.
Stars: ✭ 200 (+1011.11%)
Mutual labels:  registration
icra20-hand-object-pose
[ICRA 2020] Robust, Occlusion-aware Pose Estimation for Objects Grasped by Adaptive Hands
Stars: ✭ 42 (+133.33%)
Mutual labels:  registration
maks
Motion Averaging
Stars: ✭ 52 (+188.89%)
Mutual labels:  registration
Elastix
Official elastix repository
Stars: ✭ 222 (+1133.33%)
Mutual labels:  registration

This code a frictionless signup Django app.

The app will register and login a user with as little as only an email address.

When the user logs out and tries to logs back in with the same email address, the app will first verify the email address through an activation url send to the registered email address. Setting the password is deferred to after the email address has been verified.

If during the first login and/or subsequent login, the email address should be verified before moving forward (ex: before presenting a payment view), you should decorate the view with an active_required decorator.

Tested with

  • Python: 3.7, Django: 3.2 (LTS), Django Rest Framework: 3.12
  • Python: 3.10, Django: 4.0 (latest), Django Rest Framework: 3.12 - see #55
  • Python: 2.7, Django: 1.11 (legacy), Django Rest Framework: 3.9.4

This project contains bare bone templates which are compatible with Django and Jinja2 template engines. To see djaodjin-signup in action as part of a full-fledged subscription-based session proxy, take a look at djaoapp.

Install

Add the signup urls to your urlpatterns and EmailOrUsernameModelBackend to the settings AUTHENTICATION_BACKENDS.

urls.py:

    urlpatterns = ('',
        (r'^api/', include('signup.urls.api')),
        (r'^', include('signup.urls.views')),

    )

settings.py:

    AUTHENTICATION_BACKENDS = (
        'signup.backends.auth.EmailOrUsernameModelBackend',
        'django.contrib.auth.backends.ModelBackend'

    )

To make the application useable accross a variety of websites, signup never sends any e-mails directly. It relies on triggering signals whenever a notification must be generated. As a result, to verify a user email address and activate her account, you will need to implement a listener for the user_verification signal and send the e-mail from there.

Development

After cloning the repository, create a virtualenv environment, install the prerequisites, create and load initial data into the database, then run the testsite webapp.

$ python -m venv .venv
$ source .venv/bin/activate
$ pip install -r testsite/requirements.txt
$ make vendor-assets-prerequisites
$ make initdb
$ python manage.py runserver

# Browse http://localhost:8000/

Release Notes

0.7.7

  • fixes showing notification summary/description on users notifications page

previous release notes

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].