idps callback middleware

This commit is contained in:
peintnermax
2024-06-25 10:41:24 +02:00
parent c8a8a31522
commit 81f1fa3f72
2 changed files with 4541 additions and 5931 deletions

View File

@@ -2,7 +2,12 @@ import { NextResponse } from "next/server";
import type { NextRequest } from "next/server"; import type { NextRequest } from "next/server";
export const config = { export const config = {
matcher: ["/.well-known/:path*", "/oauth/:path*", "/oidc/:path*"], matcher: [
"/.well-known/:path*",
"/oauth/:path*",
"/oidc/:path*",
"/idps/callback/:path*",
],
}; };
const INSTANCE = process.env.ZITADEL_API_URL; const INSTANCE = process.env.ZITADEL_API_URL;

10465
pnpm-lock.yaml generated

File diff suppressed because it is too large Load Diff