Commit Graph

6 Commits

Author SHA1 Message Date
Pacerino
2bc7cd5a98 [Backend] Wire providers/auth into API and add startup bootstrap
Route host changes through the selected Caddy provider, add auth routes
and the frontend-dir serving toggle, seed a default admin user on first
run, and validate space/comma separated domain lists via a custom
validator. Includes validator tests.
2026-06-14 02:35:28 +02:00
Pacerino
8019bb9861 [Backend] Add configurable authentication (local or OIDC)
Support CPM_AUTH_MODE=local|oidc. OIDC uses go-oidc with JIT user
provisioning and an optional email-domain allowlist. Adds auth config,
login and callback endpoints, a JWT signing-key bootstrap and
Provider/Subject fields on the user model. Includes OIDC allowlist tests.
2026-06-14 02:35:13 +02:00
Pacerino
766975f52b small changes to error codes and behavior 2022-10-03 22:50:54 +02:00
Pacerino
e7557515f1 [Backend] Implement Login with JWT 2022-10-03 20:40:58 +02:00
Pacerino
ff1190e8bd rename imports 2022-09-26 15:46:53 +02:00
Pacerino
15842e3c45 Initial Upload 2022-09-26 15:41:00 +02:00