Skip to content

Stop calling the retired signUp endpoint from auth signup - #437

Merged
maximelb merged 1 commit into
masterfrom
chore/remove-signup-cf
Oct 11, 2026
Merged

maximelb merged 1 commit into
masterfrom
chore/remove-signup-cf

Conversation

@maximelb

Copy link
Copy Markdown
Contributor

Summary

limacharlie auth signup called a legacy signUp Cloud Function between OAuth and org creation. That function is being retired: it only writes to a store nothing reads anymore. The user profile is already created by the JWT service (jwt.limacharlie.io) on the first fb_auth token exchange, which auth signup does right after (refresh_jwt(oid_override="-")) before creating the org.

  • Remove the signUp call (step 2 of 3); the flow is now OAuth, then org creation.
  • Delete limacharlie/signup.py and the SIGNUP_URL / INTERNAL_EMAIL_DOMAINS constants (no other users).
  • Add a unit test that runs auth signup end to end with OAuth, the JWT exchange and org creation mocked, and fails on any other HTTP call.

Test plan

  • pytest tests/unit/ tests/microbenchmarks/: 5114 passed, 5 skipped (skips are existing, unrelated).

🤖 Generated with Claude Code

The JWT service creates the user profile on the first fb_auth token
exchange, so the separate signUp Cloud Function call was redundant and
only wrote to a store nothing reads. auth signup is now OAuth, then
organization creation.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@limacharlie-refractionpoint

Copy link
Copy Markdown

LimaCharlie Cloud Security — code scan

No new code findings were introduced by this pull request.

This check reports and never fails: no gating.fail_on is set on the code_scanning policy.

Scanned refractionPOINT/python-limacharlie a30e4dd…a2b0e17 — only findings new in the head commit are listed; anything already on the base branch is the repository's own finding set, on the Cloud Security Code page.

This comment is updated in place on every push to this pull request.

@maximelb
maximelb merged commit 1e6a5a9 into master Oct 11, 2026
7 checks passed
@maximelb
maximelb deleted the chore/remove-signup-cf branch October 11, 2026 19:52
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