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

Missing validation for Registration API when user does not exist by userId #1457

Closed
robotdan opened this issue Oct 23, 2021 · 0 comments
Closed
Assignees
Labels
bug Something isn't working
Milestone

Comments

@robotdan
Copy link
Member

Missing validation for Registration API when user does not exist by userId

Description

When using the User Registration API, if the user specified on the URL for userId does not exist, the validation is not performed properly.

You may receive a 500 status code instead of a 400 with a JSON body.

Affects versions

Unknown.

Steps to reproduce

  1. call the Registration API with a userId that does not belong to a user

Expected behavior

A 400 response should be returned with a JSON body.

Community guidelines

All issues filed in this repository must abide by the FusionAuth community guidelines.

Additional context

Add any other context about the problem here.

@robotdan robotdan self-assigned this Oct 23, 2021
@robotdan robotdan added the bug Something isn't working label Oct 23, 2021
@robotdan robotdan added this to the 1.30.3 milestone Oct 23, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant