The developer
You build an app. You sign in to ComfyAuth’s website to create a project and manage its users.
Start here. Follow the arrows to see who uses ComfyAuth, where it runs, and how the pieces fit together.
You build an app. You sign in to ComfyAuth’s website to create a project and manage its users.
Someone uses your app. They sign in on the screens you build. They do not need a ComfyAuth developer account.
Think of ComfyAuth as the person checking tickets at the door. Your app still decides which rooms a person can enter.
The page your user sees. You design it.
The part of your app that talks to ComfyAuth and keeps browser session tokens private.
Product pages, developer login, project dashboard.
Small web addresses for signup, login, users, and projects.
Check passwords, confirm ownership, create or end sessions.
These are parts of the same application, not three separate servers. The portal and your app enter through different API doors.
The organised filing cabinet: projects, users, password hashes, sessions, and queued email.
Sends verification and reset links over an encrypted connection.
EMAIL CONNECTEDRight now: the website, API, and databases are deployed. Hostinger email is connected. Verification and password-reset emails have been tested in our Hostinger inbox; delivery to other email providers and reliable idle retries still need testing and setup.
Your page sends a request: “Please log me in.”
The HTTP layer checks the format, request limits, and the correct project.
The auth layer checks the password and account, then uses the database.
Your app receives a result and decides which screen to show.
A failed check returns an error. A successful login does not automatically grant permission to everything in your app.
cmd/api/main.go↓ starts the Vercel serverinternal/httpapi/api.go · portal.go↓ validates the request and selects the operationinternal/auth/service.go · portal.go · crypto.go↓ applies account, ownership, and password rulesinternal/database/database.go → PostgreSQL
internal/config/config.go reads settings.
internal/httpapi/web/ contains the HTML, CSS, and
JavaScript you see. On a persistent host,
cmd/comfyauth/main.go starts the same service and an
email worker.
The Go code and website files are uploaded.
Verify dependencies; run checks and race tests against a separate test database.
Vercel builds the Go server and serves the embedded website.
The runtime database is for real app data. The separate test database is for disposable test records. Schema changes are applied separately with operator credentials.