Fix SPA forward for /oidc/callback and /admin/* routes
Some checks failed
CI / build (push) Failing after 47s
CI / docker (push) Has been skipped
CI / deploy (push) Has been skipped

The SPA catch-all was missing these paths, causing 404 when Authentik
redirected back to /oidc/callback after authentication.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
hsiegeln
2026-03-14 14:33:14 +01:00
parent 103b14d1df
commit 0d82304cf0

View File

@@ -16,7 +16,9 @@ public class SpaForwardController {
@GetMapping(value = {
"/login",
"/executions",
"/executions/{path:[^\\.]*}"
"/executions/{path:[^\\.]*}",
"/oidc/callback",
"/admin/{path:[^\\.]*}"
})
public String forward() {
return "forward:/index.html";