Running In Production
Running In Production
Section titled “Running In Production”There are two ways to run Seamless Auth in production. The managed offering hosts the auth instance for you. Self-hosting means you provision and operate the stack yourself.
This page previously documented an AWS dev-tier deploy and destroy command flow. That flow is not
in the current ../seamless-cli source, so it is no longer described here as shipped.
Managed hosting
Section titled “Managed hosting”On the managed path, Seamless runs the auth instance for you. You create an application in the portal
at https://dashboard.seamlessauth.com, pick a plan, and Seamless
provisions a dedicated hosted instance at https://<your-app-id>.seamlessauth.com. You point the SDKs
at that URL and a portal-issued service token.
On this path you do not provision Postgres, manage signing keys, or run the auth server. See the Managed Quickstart.
Self-hosted CLI surface today
Section titled “Self-hosted CLI surface today”For self-hosting, the public CLI command surface is:
seamless init [project-name]seamless checkseamless bootstrap-admin [email]seamless verifyseamless loginseamless profile <list|add|use|remove>seamless --helpseamless --versionThe CLI also exposes whoami, logout, sessions, and the admin commands config, users, and
org against a configured instance. See the CLI command reference for the
full surface.
There is no seamless deploy or seamless destroy implementation in ../seamless-cli.
What the CLI can prepare today
Section titled “What the CLI can prepare today”seamless-cli can generate a local self-hosted project with:
- React web starter
- Express API starter
- Seamless Auth API in Docker or local-source mode
- optional admin dashboard in Docker image or source mode
- Docker Compose wiring
- local secrets and service URLs
seamless.config.json
That gives you a production-shaped local stack, but it is not a hosted deployment workflow.
What self-hosted operators still own
Section titled “What self-hosted operators still own”If you self-host, until deployment automation ships you own:
- hosting the auth API, application API, web app, and optional admin dashboard
- provisioning Postgres
- setting stable production secrets
- configuring JWKS signing keys
- configuring HTTPS, CORS, origins, cookie domain, and proxy headers
- managing OAuth provider callback URLs and provider secrets
- monitoring, logging, alerting, backup, and restore testing
Use Environment Variables, System Config Reference, and Cookie, Session, And Token Reference when planning those deployment surfaces.
The managed offering handles these for you.
Documentation Rule
Section titled “Documentation Rule”When documenting deployment work:
- do not describe
deployordestroyas shipped unless those commands exist in../seamless-cli - label future deployment flows as planned or in progress
- tie infrastructure claims to current source code or generated files
- keep operator-owned production hardening separate from CLI-generated local setup
Next Step
Section titled “Next Step”Continue to Environment Variables.