Skip to content

fix(init): scaffold auth server v0.18.0 and print each api starter's own command - #254

Merged
Bccorb merged 1 commit into
mainfrom
fix/api-pin-and-next-steps
Oct 8, 2026
Merged

Bccorb merged 1 commit into
mainfrom
fix/api-pin-and-next-steps

Conversation

@Bccorb

@Bccorb Bccorb commented Oct 8, 2026

Copy link
Copy Markdown
Contributor

Two fixes the Go, Rust and Python api starters need (fells-code/seamless-templates#113, under fells-code/seamless-auth-api#371).

Auth server pin: v0.17.0 to v0.18.0. In v0.17.0 the OTP and magic-link send routes (/otp/generate-email-otp and friends) are GET. From v0.18.0 they are POST, with the GETs kept but deprecated, because a GET that sends a message can be triggered cross-site. The Go, Rust and Python adapters follow the v0.18 manifest, and the current @seamless-auth/client also sends POST, so a project scaffolded on the v0.17.0 pin fails at "send code" with 404. I hit this scaffolding the new starters. v0.18.0 still serves the GET routes, so the Express and Fastify starters keep working. The v0.18.0 image is published on ghcr.

Next steps per api starter. After seamless init, the next steps told every api starter to cd api && npm install && npm run dev. They now come from apiDevCommand(framework):

  • go run . (Gin)
  • cargo run (Axum)
  • uv run uvicorn app.main:build --factory --reload --port 3000 (FastAPI)
  • npm for everything else

These match each starter's README. Gin and Axum also get display names.

I checked all three new starters end to end against a scaffold whose auth image was set to v0.18.0. The templates pin (SEAMLESS_TEMPLATES_REF) is left alone: it moves when seamless-templates releases #113.

tsc --noEmit, check:types-current, check:templates-pin, build and the full test suite (1177 passed) all pass.

…own command

The Go, Rust and Python adapters and @seamless-auth/client send the OTP and
magic-link send routes as POST, which v0.17.0 answers with 404. v0.18.0 serves
both, so the Express and Fastify starters are unaffected. The next steps no
longer tell a Gin, Axum or FastAPI project to run npm.
@Bccorb
Bccorb merged commit 8ea75ec into main Oct 8, 2026
5 checks passed
@Bccorb
Bccorb deleted the fix/api-pin-and-next-steps branch October 8, 2026 21:09
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.

1 participant