echoing-coat-78028
09/20/2022, 10:44 AMconst client = new GraphQLClient(endpoint, {
credentials: 'include',
})
in api
cors: {
origin: (origin, callback) => {
callback(null, origin)
},
credentials: true,
But it doesn't worksteep-lamp-91158
echoing-coat-78028
09/20/2022, 7:26 PMory_kratos_session
to 'None'. But that is problem now because the origin is http://localhost, which means the cookie Secure flag is set to false and that mess my evil plan of calling our staging backend from my local frontend.
Anyways, I will keep searching a solution. Thanks