chore: authentication / signon work for 1.1.0 release #838

Closed
opened 2026-03-28 04:29:05 +00:00 by mfreeman451 · 0 comments
Owner

Imported from GitHub.

Original GitHub issue: #2459
Original author: @mfreeman451
Original URL: https://github.com/carverauto/serviceradar/issues/2459
Original created: 2026-01-23T12:08:33Z


Currently the way you login to the application is through a magic-link and a swoosh local mail adapter. This is barely suitable for testing let alone production. Until we roll out our full auth solution, we are going to opt for something more simple:

We'll need to programmatically create a new admin user in the docker compose, helm, and manifest installations, generating a new random password, bcrypt'ing that, updating CNPG ng_users table (need to verify that is correct table), and storing the random password in a secret (k8s) or volume in docker, as well as displaying it to the user after the initial installation is complete along with the login.

  • disable magic link signups/logins
  • create 'admin' user with 'root@localhost' email for signin
  • k8s admin user setup (helm)
  • k8s admin user setup (manifests)
  • docker compose admin user setup
  • remove 'register' links from sign-in pages
  • disable register feature
Imported from GitHub. Original GitHub issue: #2459 Original author: @mfreeman451 Original URL: https://github.com/carverauto/serviceradar/issues/2459 Original created: 2026-01-23T12:08:33Z --- Currently the way you login to the application is through a magic-link and a swoosh local mail adapter. This is barely suitable for testing let alone production. Until we roll out our full auth solution, we are going to opt for something more simple: We'll need to programmatically create a new admin user in the docker compose, helm, and manifest installations, generating a new random password, bcrypt'ing that, updating CNPG `ng_users` table (need to verify that is correct table), and storing the random password in a secret (k8s) or volume in docker, as well as displaying it to the user after the initial installation is complete along with the login. - [ ] disable magic link signups/logins - [ ] create 'admin' user with 'root@localhost' email for signin - [ ] k8s admin user setup (helm) - [ ] k8s admin user setup (manifests) - [ ] docker compose admin user setup - [ ] remove 'register' links from sign-in pages - [ ] disable register feature
mfreeman451 added this to the 1.1.0 milestone 2026-03-28 04:29:05 +00:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
carverauto/serviceradar#838
No description provided.