feat: support for authorize post in oidc controller

This commit is contained in:
Stavros
2026-04-27 20:13:14 +03:00
parent 5d95123dcb
commit 74901dd88f
6 changed files with 74 additions and 13 deletions
+10
View File
@@ -57,6 +57,16 @@ export default defineConfig({
changeOrigin: true,
rewrite: (path) => path.replace(/^\/robots.txt/, ""),
},
"/authorize": {
target: "http://tinyauth-backend:3000/authorize",
changeOrigin: true,
rewrite: (path) => path.replace(/^\/authorize/, ""),
bypass: (req) => {
if (req.method === "GET") {
return "/index.html";
}
},
},
},
allowedHosts: true,
},