diff --git a/packages/nextjs/src/api/utils.ts b/packages/nextjs/src/api/utils.ts index 2d5440a8..3f2bca9b 100644 --- a/packages/nextjs/src/api/utils.ts +++ b/packages/nextjs/src/api/utils.ts @@ -103,7 +103,7 @@ export const parseHttpResponse = async (res: Response): Promise { + [...fronteggAuthApiRoutesRegex, /^\/identity\/resources\/impersonation\/v[0-9]$/g].find((pathRegex) => { if (typeof pathRegex === 'string') { return pathRegex === path; } else {