CodeForPhilly/balancer-backup

A user can create a local account via a registration page

Opened this issue · 1 comments

A user can create a local account via a registration page

Purpose

Local account registration will be provided (via djoser) as an alternative to SSO. The frontend should provide a flow for utilizing the proper registration endpoint.

Description

View should POST the following fields:

{
  email: {email},
  password: {pass},
  re_password: {pass},
}

to url:
localhost:8000/users/

Expected Responses

On bad request

HTTP_400_BAD_REQUEST:

  • email
  • password
  • re_password
On accepted request

HTTP_201_CREATED

  • email
  • pk_field_name

Sorry for the late reply. That looks fine to me