checking session…

Deallable Cloud

Full-stack showcase

A Next.js app using the platform's hosted auth, its own Postgres database and prefix-scoped file storage — all behind one sign-in, deployed by a push to main.

1 · Hosted auth — the platform's own sign-in

These buttons leave for a page on the platform's login origin. Password sign-in, sign-up with email verification, password reset and Continue-with-Google all live there — this app renders none of it and never sees a password. It comes back with a single-use code, and this app's server exchanges it for a session token the platform signed.

Sign inCreate an account

Both buttons start the same flow, deliberately: the hosted page carries “Create an account”, “Forgot your password?” and “Continue with Google”, and /signup needs a flow that only /authorize can create. So the app chooses whether to start a sign-in; the platform owns every screen inside it.

Password sign-in refused? These are the four reasons, and all of them are deliberate
  • “Confirm your email” — sign-up sends a verification link and the platform refuses sign-in until it is clicked. That is what makes email_verified a guarantee rather than a hint, and it closes account pre-hijacking.
  • “Incorrect email or password” — one message for a wrong password and an unknown address, on purpose: distinguishing them would let anyone test which addresses have accounts.
  • “Too many attempts” — six failures per address per hour, and sixty per IP. The wait is in the Retry-After header.
  • “This sign-in attempt has expired” — a flow lives fifteen minutes and its cookie is locked to one host. A page left open past that, or reloaded from history, is stale; start again from here.

2 · Injected environment

Read from /api/config at request time — the platform injects this at deploy time, so a build-time inline would be undefined.

loading…

Panel 1 uses none of the resource variables — hosted auth needs only this app's own id, which is why the session it produces names no infrastructure. It does need the public origin, and the two rows above it are why: Cloud Run's front end routes on Host, so the platform's router overwrites it and the visitor's real hostname arrives in X-Forwarded-Host. The first deploy of this app built its redirect_uri from request.url, sent https://localhost:3000/auth/callback, and every sign-in was refused.

3 · Database (kind: postgres)

Your notes live in this app's own Postgres database. The browser calls /api/notes; this app's server verifies the hosted-auth session from panel 1, takes your uid from it, and filters every statement on it. No second sign-in, and nothing in this page holds a database credential.

loading…

4 · File storage (kind: bucket)

A signed URL is minted by the control plane against your hosted-auth session, scoped to a prefix the platform computes — this app never holds a storage credential, and there is no second sign-in.

Activity

nothing yet