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

Handle duplicate user sign up #886

Merged
merged 2 commits into from
Jul 18, 2023
Merged

Handle duplicate user sign up #886

merged 2 commits into from
Jul 18, 2023

Conversation

frederikprijck
Copy link
Member

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.

  • This change adds unit test coverage
  • This change adds integration test coverage

Checklist

@frederikprijck frederikprijck requested a review from a team as a code owner July 18, 2023 06:58
@frederikprijck frederikprijck merged commit e93a9e9 into beta Jul 18, 2023
4 checks passed
@frederikprijck frederikprijck deleted the feat/sdk-4325 branch July 18, 2023 14:45
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

Successfully merging this pull request may close these issues.

2 participants