Joseph Doherty
0b10747bd2
Fix Central launch profile: auth middleware, cookie auth, antiforgery, static files
- Add UseAuthentication/UseAuthorization/UseAntiforgery/UseStaticFiles middleware
- Register ASP.NET Core cookie authentication scheme in AddSecurity()
- Update auth endpoints to use SignInAsync/SignOutAsync (proper cookie auth)
- Add [AllowAnonymous] to login page
- Create wwwroot for static file serving
- Regenerate clean EF migration after model changes
Verified with launch profile "ScadaLink Central":
- Host starts, connects to SQL Server, applies EF migrations
- Akka.NET cluster forms (remoting on 8081, node joins self as leader)
- /health/ready returns Healthy (DB + Akka checks)
- LDAP auth works (admin/password via GLAuth → 302 + auth cookie set)
- Login page renders (HTTP 200)
- Unauthenticated requests redirect to /login
2026-03-17 03:43:11 -04:00
..
2026-03-16 20:57:25 -04:00
2026-03-16 19:50:59 -04:00
2026-03-17 03:43:11 -04:00
2026-03-17 03:01:21 -04:00
2026-03-17 03:43:11 -04:00
2026-03-17 03:01:21 -04:00
2026-03-16 18:59:07 -04:00
2026-03-16 18:59:07 -04:00
2026-03-16 18:59:07 -04:00
2026-03-16 18:59:07 -04:00
2026-03-16 18:59:07 -04:00
2026-03-17 03:43:11 -04:00
2026-03-16 20:34:56 -04:00
2026-03-16 19:50:59 -04:00