1
Validate sign up against existing users
Source: directus/directus#25706 · opened by @chrisbosh12345
Summary Instead of allowing all requests if entered correctly, Directus should check if a User already exists with the same email address. Basic Example Sign up with: { "email": "[email protected]", "password": "Start123!", "first_name": "test", "last_name": "user" } Response 204 No Content But if another User signs up with: { "email": "[email protected]", "password": "Start123!", "first_name": "user", "last_name": "test" } Still response 204 No Content even though someone already registered with the same email Motivation It improves API usability and removes reduntant workarounds. Detailed Design When a user is already registered with an email, directus should respond with something like 409 Conflict - User already registered. It can also be something more inconspicuous…
No pledges yet. Be the first to back this.
Comments
Similar requests
Partial Schema Definition
1 vote · 0 comments
Enhance SSO Workflow for Cross-Domain Authentication
4 votes · 0 comments
RFC for Magic sign-in link via email
88 votes · 0 comments
Reset password form asks users to sign in even for roles without app access
1 vote · 0 comments
Flows for users.
1 vote · 0 comments
No comments yet.