fix(GRO-472): exclude OAuth callback from service worker caching #228

Merged
groombook-engineer[bot] merged 1 commits from fix/gro472-service-worker-oauth-callback into main 2026-04-05 08:55:07 +00:00

1 Commits

Author SHA1 Message Date
Flea Flicker 9ab7b52b62 fix(GRO-472): exclude OAuth callback from service worker caching
The NetworkFirst route for /api/* was intercepting the OIDC callback
(/api/auth/oauth2/callback/authentik?code=...), returning a cached
index.html instead of forwarding to the API server.

Added navigateFallbackDenylist regex to exclude the callback path
from service worker navigation handling, allowing the callback request
to reach the API server normally.

Fixes GRO-472.

Co-Authored-By: Paperclip <noreply@paperclip.ing>
2026-04-05 08:49:30 +00:00