/dbconnections/signup doesn’t always return an error as described in the Errors section of auth api docs. If you’re signing up a duplicate user then it’ll be an error with a shape like so
{"name":"BadRequestError","code":"invalid_signup","description":"Invalid sign up","statusCode":400}
Testing
Please describe how this can be tested by reviewers. Be specific about anything not tested and reasons why. If this library has unit and/or integration testing, tests should be added for new functionality and existing tests should complete without errors.
Changes
/dbconnections/signup doesn’t always return an error as described in the Errors section of auth api docs. If you’re signing up a duplicate user then it’ll be an error with a shape like so {"name":"BadRequestError","code":"invalid_signup","description":"Invalid sign up","statusCode":400}
Testing
Please describe how this can be tested by reviewers. Be specific about anything not tested and reasons why. If this library has unit and/or integration testing, tests should be added for new functionality and existing tests should complete without errors.
Checklist