Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

A user can create a local account via a registration page #7

Open
jusjayson opened this issue Aug 22, 2023 · 1 comment
Open

A user can create a local account via a registration page #7

jusjayson opened this issue Aug 22, 2023 · 1 comment

Comments

@jusjayson
Copy link

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
@taichan03
Copy link
Collaborator

Sorry for the late reply. That looks fine to me

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants