diff --git a/apps/api/src/utils/auth.ts b/apps/api/src/utils/auth.ts index 1a0df274..58f135b0 100644 --- a/apps/api/src/utils/auth.ts +++ b/apps/api/src/utils/auth.ts @@ -58,7 +58,9 @@ export async function validateSdkRequest( return client.projectId; } - // Check if cors is a wildcard + if (client.cors === '*' && origin) { + return client.projectId; + } } if (client.secret && clientSecret) {