Find Jobs
Hire Freelancers

Auth system on django project

$10-30 USD

Cerrado
Publicado hace más de 8 años

$10-30 USD

Pagado a la entrega
Django project needs to have an authantication system, made by these rules: Classical registration ================ The registration form consists of three fields: email, password, confirm password. So, as the login we use user's email. If user with given email already exists, then: - If password fits, we just authorize the user - If password doesn't fit, show error "User already exists" If password and password confirmation do not match, show error "Passwords don't match". The user, who has just registered, we set status is_confirmed=False. Please note: it's not the same as is_active=True. After registration user gets an email with confirm-your-account link. Following that link changes is_confirmed to True. User profile gets filled with default data: gender = male, picture = null, name = <random>. User can change it later (building profile page is not part of this particular task). Classical authorization ================= The sign in form consists of two fields: email and password. The list of something-went-wrong situations is pretty typical: - User does not exist - Wrong email or password - User is banned (in case is_active is set to False) Forgot your password? ================= In order to restore the password user must fill the form: email, gender. If we can not find user with given data, we show error "User does not exist". Otherwise we send an email with set-new-password link. Important: before new password is set, the old one is still valid. Social registration/authorization ========================= User can get authorized via social services: Facebook, [login to view URL], Google and Odnoklassniki When user is authorized with his/her social account, is_confirmed field is always set to True and we don't send confirm-your-account email. After first social-authorization we try to match current user with already existed "classical" user by comparing emails. In case the match is fund, we connect accounts: change gender to what came from social network, set photo (if wasn't set before), change name to what came from social network Summary ======= - User profile consists of: - Email (we use it as login) - Name - Photo - Gender (defaults to "Male") - Is confirmed - + usual is_staff and is_active User model can be found in portal.models.User. Nobody from outside of auth system can see differences between "social" and "classical" users: any user in other parts of project is treated as just user.
ID del proyecto: 8300091

Información sobre el proyecto

7 propuestas
Proyecto remoto
Activo hace 9 años

¿Buscas ganar dinero?

Beneficios de presentar ofertas en Freelancer

Fija tu plazo y presupuesto
Cobra por tu trabajo
Describe tu propuesta
Es gratis registrarse y presentar ofertas en los trabajos
7 freelancers están ofertando un promedio de $90 USD por este trabajo
Avatar del usuario
I have a site like this already created, I can get a good working site for you in a small amount of time. You can contact me on skype : khailzs
$30 USD en 1 día
0,0 (0 comentarios)
0,0
0,0
Avatar del usuario
Предложение еще не подано
$25 USD en 5 días
0,0 (0 comentarios)
0,0
0,0
Avatar del usuario
I have been working with Django auth for 2 years and I made very similar thing(login and auth via socalmedia) in my last project.
$25 USD en 3 días
0,0 (0 comentarios)
0,0
0,0

Sobre este cliente

Bandera de RUSSIAN FEDERATION
Russian Federation
0,0
0
Miembro desde ago 18, 2015

Verificación del cliente

¡Gracias! Te hemos enviado un enlace para reclamar tu crédito gratuito.
Algo salió mal al enviar tu correo electrónico. Por favor, intenta de nuevo.
Usuarios registrados Total de empleos publicados
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Cargando visualización previa
Permiso concedido para Geolocalización.
Tu sesión de acceso ha expirado y has sido desconectado. Por favor, inica sesión nuevamente.