diff --git a/CHANGELOG.rst b/CHANGELOG.rst
index e9c9c0c9f1494a2a28cc3c839a98749d489e82cf..fa7ad1aa4d317f35f7f197f9b148bcd7282ce931 100644
--- a/CHANGELOG.rst
+++ b/CHANGELOG.rst
@@ -14,6 +14,7 @@ Fixed
 
 * Notifications were not properly shown in the frontend.
 * When navigating from legacy to legacy page, the latter would reload once for no reason.
+* The oauth authorization page was not accessible when the service worker was active.
 
 `3.1.1` - 2023-07-01
 --------------------
diff --git a/aleksis/core/vite.config.js b/aleksis/core/vite.config.js
index 287534f096c186bc428de742c4e5ff56b71e8eab..86660064e52a75d2faa525a93b41046383176736 100644
--- a/aleksis/core/vite.config.js
+++ b/aleksis/core/vite.config.js
@@ -201,7 +201,7 @@ export default defineConfig({
         navigateFallback: "/",
         directoryIndex: null,
         navigateFallbackAllowlist: [
-          new RegExp("^/(?!(django|admin|graphql|__icons__))[^.]*$"),
+          new RegExp("^/(?!(django|admin|graphql|__icons__|oauth/authorize))[^.]*$"),
         ],
         additionalManifestEntries: [
           { url: "/", revision: crypto.randomUUID() },
@@ -215,7 +215,7 @@ export default defineConfig({
         runtimeCaching: [
           {
             urlPattern: new RegExp(
-              "^/(?!(django|admin|graphql|__icons__))[^.]*$"
+              "^/(?!(django|admin|graphql|__icons__|oauth/authorize))[^.]*$"
             ),
             handler: "CacheFirst",
           },