Client omits credentials even if option is set otherwise

Hello. In my Apollo client I added credentials:'include', however when it sends request to the server it sends it with credentials:'omit'. Any ideas what could cause that? I tried setting up this option in createHttpLink() options and add this link in new ApolloClient() as link, and also just setting up in ApolloClient as credentials option. None of those worked.
My client looks like this:

import { ApolloClient, InMemoryCache, createHttpLink } from '@apollo/client';

const link = createHttpLink({
  uri: process.env.REACT_APP_BACKEND_URL,
  credentials: 'include',
});

export const client = new ApolloClient({
  cache: new InMemoryCache(),
  link,
});

In server side I set cors as follows: { credentials: true, origin: 'http://localhost:3000' }(since I read that ‘*’ does not allow credentials to be set). Also what I noticed is that the issue occurs only when I sent request to the server that is cross-origin. I tried to do it locally when both server and client were on same origin- it worked. All ideas are welcome, either from client side as well as from the server side