Projects without forge's browser sign-in — no frontend (an API called with bearer tokens and API keys), `forge project new --auth-mode none` (nobody signs in; entity rpcs born public), and `--disable sign_in` (a frontend that signs in through another provider; the API still fails closed). What each leaves out (identity.k, the dev IdP, the login broker, the Sessions provider, the auth_sessions migration, idp-steps.yaml, the oidc_*/idp_* config fields), the derived `features.sign_in`, and addin...
Installs into .claude/skills of the current project.
Sponsors
SSkills DirectorySkills Directory
Is that skill safe to install?
SSkills DirectorySkills Directory
Know which skills are safe — weekly.
Are you the author of No Sign In?
Add the live security badge to your README. It updates with every re-scan.
[](https://www.skillsdirectory.com/skills/reliant-labs-no-sign-in)
---
name: no-sign-in
description: Projects without forge's browser sign-in — no frontend (an API called with bearer tokens and API keys), `forge project new --auth-mode none` (nobody signs in; entity rpcs born public), and `--disable sign_in` (a frontend that signs in through another provider; the API still fails closed). What each leaves out (identity.k, the dev IdP, the login broker, the Sessions provider, the auth_sessions migration, idp-steps.yaml, the oidc_*/idp_* config fields), the derived `features.sign_in`, and adding sign-in later.
---
# Projects without sign-in
## No sign-in system (`--auth-mode none`)
`forge project new <name> --frontend web --auth-mode none` scaffolds an app nobody signs in to: no `deploy/kcl/identity.k`, no `identity` on any env, no dev IdP or mail catcher, no IdP in `docker-compose.yml`, and a public frontend (no route guard mounted, no sign-in screens; `auth/frontend`). Nor is the server half born: the config proto declares no `oidc_*`/`idp_*` fields, so there is no `internal/app/login_broker.go`, no `Sessions` provider, no `auth_sessions` migration and no `idp-steps.yaml`. `--auth-mode native` (the default) is today's managed identity. Nothing records the choice: identity.k being absent IS the answer, and `forge generate` keeps it.
**The API still fails closed.** `SetupAuth`, the interceptor and `AnonymousOK: false` are unchanged, so `auth_required` keeps its meaning: an rpc without `auth_required: false` answers **401 to every caller**, since no issuer exists to mint the token it requires. Entity CRUD rpcs are born `auth_required: false` in the proto; a custom rpc is public once its proto says so, and lint names the rest (`forge-auth-required-no-sign-in`). The frontend never calls `/auth/*`. Older projects: `migrations/v1.11.0/auth-none-public`.
**A project with no frontend** (an API called with bearer tokens or API keys) is born the same way on the server: `jwt_*` fields and no broker, sessions table or `idp-steps.yaml`. **`--disable sign_in`** gives a project WITH a frontend that shape — the frontend signs in through someone else (Clerk, Auth0, a hosted page; `auth/external-provider`) — without making rpcs public the way `--auth-mode none` does. It pins `features: {sign_in: false}`, which `forge generate` honours whatever the config declares; `forge project features` shows the feature, derived on from `identity.k` or the broker's config fields. An older project that carries the broker without using it: `migrations/v1.15.0/sign-in-opt-out`.
**Adding sign-in later** has no single command. Write `deploy/kcl/identity.k` (copy the `ManagedIdentity` from a scratch `forge project new x --frontend web`), import it and set `identity` in each env's `main.k` (dev: on the `idp` HostInfra, with `mail` beside it), run `forge generate` (the compose IdP comes back), and gate the frontend (`auth/frontend`). A project born without the server half also needs it back: declare the sign-in fields in its config proto (copy the `oidc_*`, `idp_*`, `trusted_proxy_hops`, `auth_self_signup` and `handoff_redirects` blocks from the same scratch project — numbers 30-36, 41 and 48-51 are left free for them), drop any `sign_in: false` pin, and run `forge generate`, which births `internal/app/login_broker.go`. `providers.go` was born without the broker's mount and the `Sessions` provider; to have forge write them, move your `providers.go` aside, run `forge project rescaffold internal/app/providers.go` (it also writes the `auth_sessions` migration), and carry your own edits over.