Commit Graph
5 Commits
Author SHA1 Message Date
angelandClaude Sonnet 5 0a17dce032 auth: split dev-mode auth constructor and wire up dev-login/logout UI
Gitea Actions Demo / Explore-Gitea-Actions (push) Successful in 5s
Squeamish about New()'s empty-domain-string sentinel for "dev mode, skip
OIDC discovery" - split into New (always makes a real OIDC discovery
call, all params required) and NewDev (no ctx/domain/credentials at all,
since none are used). main.go now branches on cfg.DevAuthEnabled to pick
the right constructor instead of main.go/config.go coordinating on when
it's safe to pass empty strings.

Also finishes out the dev-auth flow this enables: config.Load reads a
DEV_AUTH_ENABLED-aware env file and only requires Auth0 vars when dev
auth is off; a PORT config var replaces the hardcoded :8082; and the nav
UI (layout/index templates, ui router) points login/logout links at
/api/auth/dev-login and a new /api/auth/dev-logout route when dev auth
is enabled, so the whole login/logout loop works locally without a real
Auth0 app.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
2026-08-19 23:20:15 -06:00
angel 1c305cd494 basic account creation flow created 2026-01-24 16:45:38 -07:00
angel b9464adada fix create account link; more dev data 2026-01-23 20:13:41 -07:00
angel 3d70d08dac split oauth_tokens.claims column up; improved fonts; allow multiple sse connections per user; make navbar and use friendly 2026-01-23 02:31:34 -07:00
angel 4c25e5e8e9 updated templater 2026-01-18 17:39:07 -07:00