Skip to content

Chore/remove signup endpoints - #393

Open
nourshoreibah wants to merge 2 commits into
mainfrom
chore/remove-signup-endpoints
Open

Chore/remove signup endpoints#393
nourshoreibah wants to merge 2 commits into
mainfrom
chore/remove-signup-endpoints

Conversation

@nourshoreibah

Copy link
Copy Markdown
Collaborator

ℹ️ Issue

Closes

📝 Description

Write a short summary of what you added. Why is it important? Any member of C4C should be able to read this and understand your contribution -- not just your team members.

Briefly list the changes made to the code:

  1. Added support for this.
  2. And removed redunant use of that.
  3. Also this was included for reasons.

✔️ Verification

What steps did you take to verify your changes work? These should be clear enough for someone to be able to clone the branch and follow the steps themselves.

Provide screenshots of any new components, styling changes, or pages.

🏕️ (Optional) Future Work / Notes

Did you notice anything ugly during the course of this ticket? Any bugs, design challenges, or unexpected behavior? Write it down so we can clean it up in a future ticket!

nourshoreibah and others added 2 commits August 30, 2026 15:27
The pool sets allow_admin_create_user_only (infrastructure/aws/cognito.tf),
so Cognito SignUp is refused for every caller:

  NotAuthorizedException: SignUp is not permitted for this user pool

POST /auth/register therefore returned a 500 to everyone, and
/auth/verify-email and /auth/resend-code only ever completed a SignUp that
could not start. The frontend never called any of the three.

Removes the handlers, routes, OpenAPI paths and their tests, and corrects
the docs that still described claim-on-register: a branch.users row with a
NULL cognito_sub is no longer a claimable invitation. Onboarding is
POST /users -> AdminCreateUser, which writes cognito_sub at insert time.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
@nourshoreibah nourshoreibah added the no-review The PR review bot won't run label Aug 30, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

no-review The PR review bot won't run

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant