Commit Graph
11 Commits
Author SHA1 Message Date
Cursor Agent 88c0c4a453 Fix Authelia OIDC state check and hide redirect URI on login
Auth.js OIDC defaults to PKCE-only, so no `state` was sent; Authelia
rejects that. Enable checks: pkce + state. Remove the public redirect
URI hint from the login page.
2026-08-24 04:12:34 +00:00
Nick TrochalakisandCursor Agent 443dba5bba Publish Docker image to GHCR on each main build (#8)
Add a Docker workflow that builds on PRs and pushes to
ghcr.io/chewbaccalakis/rfid-database on main (latest + sha) and v* tags.
Drop the redundant docker-build job from CI.

Co-authored-by: Cursor Agent <[email protected]>
2026-08-24 04:10:58 +00:00
Nick Trochalakis 3bcdc14106 Merge pull request #7 from Chewbaccalakis/cursor/fix-login-dynamic-oidc-e593
Fix OIDC button: force dynamic /login (was prerendered at build)
2026-08-23 21:05:12 -07:00
Cursor Agent f2de0e3892 Fix missing OIDC button: stop static-prerendering /login
/login was prerendered at Docker build time when AUTH_OIDC_* were
unset, baking oidcEnabled=false into the page. Force dynamic render
and also read /api/v1/auth/config on the client as a fallback.
2026-08-24 04:02:37 +00:00
Nick TrochalakisandCursor Agent cd1a2fe808 Harden OIDC + auth config diagnostics endpoint (#6)
Request openid email profile, use client_secret_post, surface OIDC
errors on /login, and expose a no-auth diagnostics endpoint so operators
can verify the running container sees AUTH_OIDC_* and the callback URL.

Co-authored-by: Cursor Agent <[email protected]>
2026-08-24 03:57:29 +00:00
Nick TrochalakisandCursor Agent 6d76fecde9 Fix OIDC: enable from runtime AUTH_OIDC_* (no NEXT_PUBLIC flag) (#5)
The SSO button required NEXT_PUBLIC_AUTH_OIDC_ENABLED, which is baked
at build time and silently fails under Docker runtime env. Drive the
login button from server-side AUTH_OIDC_* instead, and document IdP
redirect URI + AUTH_URL setup.

Co-authored-by: Cursor Agent <[email protected]>
2026-08-24 00:13:51 +00:00
Nick TrochalakisandCursor Agent 0e50c537ee Strengthen CI (Next + Docker build) and expand tests (#4)
Add docker-build and next build jobs so Dockerfile/image failures fail
CI. Expand unit coverage for exporters/Zod and integration coverage for
search, MCT import, backup, and token revoke.

Co-authored-by: Cursor Agent <[email protected]>
2026-08-23 23:37:09 +00:00
Nick TrochalakisandCursor Agent 5aa5fef9af Fix Dockerfile conflict markers broken on main (#3)
* Fix conflict markers on main and guard CI against them

PR #2 merged before the Dockerfile cleanup landed, leaving <<<<<<<
markers that break docker compose build. Restore clean Docker files
and fail CI if conflict markers appear in the tree.

* Add CI check that fails on merge conflict markers

* Narrow conflict-marker CI check to <<<<<<< and >>>>>>>

---------

Co-authored-by: Cursor Agent <[email protected]>
2026-08-23 23:32:54 +00:00
Nick TrochalakisandCursor Agent d3ed4566b7 RFID tag dump PWA + REST API (with Docker Compose) (#2)
* Implement RFID tag dump PWA with REST API, auth, and CI

Add Next.js app with SQLite/Drizzle storage for sites and LF/HF tag
dumps, multi-user Auth.js (credentials + optional OIDC), personal API
tokens in Settings, versioned /api/v1 for UI and future CLI use,
MCT/Proxmark/JSON import-export, PWA offline shell, Vitest tests, and
GitHub Actions CI.

* Add Docker Compose setup with persistent volume

Improve the production Dockerfile (healthcheck, entrypoint bootstrap
user, pruned deps) and add docker-compose.yml plus .dockerignore for
one-command deploy with a named SQLite volume.

---------

Co-authored-by: Cursor Agent <[email protected]>
2026-08-23 16:10:30 -07:00
Nick TrochalakisandCursor Agent 8500d2f673 Implement RFID tag dump PWA with REST API, auth, and CI (#1)
Add Next.js app with SQLite/Drizzle storage for sites and LF/HF tag
dumps, multi-user Auth.js (credentials + optional OIDC), personal API
tokens in Settings, versioned /api/v1 for UI and future CLI use,
MCT/Proxmark/JSON import-export, PWA offline shell, Vitest tests, and
GitHub Actions CI.

Co-authored-by: Cursor Agent <[email protected]>
2026-08-23 15:24:12 -07:00
Nick Trochalakis 5029945cc2 Initial commit 2026-08-23 12:30:26 -07:00