CORS issue - API and web on different domains

Hi @Irev-Dev.

were you able to figure to solve this? I am running into the same problem.
The query __REDWOOD__AUTH_GET_CURRENT_USER is blocked by CORS when deploying to an AWS Lambda.

The payload is
{"query":"query __REDWOOD__AUTH_GET_CURRENT_USER { redwood { currentUser } }"}

My handler looks like this:

export const handler = createGraphQLHandler({
  loggerConfig: { logger, options: {} },
  getCurrentUser,
  directives,
  sdls,
  services,
  cors: {
    origin: '*',
    credentials: true,
  },

  onException: () => {
    // Disconnect from your database with an unhandled exception.
    db.$disconnect()
  },
})