Skip to content

Commit 2be2d39

Browse files
committed
WIP
1 parent 86df68e commit 2be2d39

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

packages/server/api/src/app/user-info/user-info.module.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ import { AppSystemProp, logger, system } from '@openops/server-shared';
33
import { ALL_PRINCIPAL_TYPES } from '@openops/shared';
44
import { allowAllOriginsHookHandler } from '../helper/allow-all-origins-hook-handler';
55
import { getVerifiedUser } from './cloud-auth';
6+
import cors from '@fastify/cors';
67

78
export const userInfoModule: FastifyPluginAsyncTypebox = async (app) => {
89
await app.register(userInfoController, { prefix: '/v1/user-info' });
@@ -30,6 +31,7 @@ export const userInfoController: FastifyPluginAsyncTypebox = async (app) => {
3031
config: {
3132
allowedPrincipals: ALL_PRINCIPAL_TYPES,
3233
skipAuth: true,
34+
cors: false,
3335
},
3436
},
3537
async (request, reply) => {

0 commit comments

Comments
 (0)