fix(spa): add /register and /onboarding to SPA forward routes
All checks were successful
CI / build (push) Successful in 1m18s
CI / docker (push) Successful in 43s

These routes were missing from SpaController, so requests to
/platform/register and /platform/onboarding had no handler. Spring
forwarded to /error, which isn't in the permitAll() list, resulting
in a 401 instead of serving the SPA.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
hsiegeln
2026-04-25 10:05:56 +02:00
parent b066d1abe7
commit 5cc9f8c9ef

View File

@@ -7,7 +7,7 @@ import org.springframework.web.bind.annotation.RequestMapping;
public class SpaController {
@RequestMapping(value = {
"/", "/login", "/callback",
"/", "/login", "/register", "/callback", "/onboarding",
"/vendor/**", "/tenant/**"
})
public String forward() {