Setting cookie before redirect fails

  .cookie('asana_email', jwtWithAsanaEmai)

The cookie asana_email does not set on the domain FRONTEND_URL (which is localhost:3000)

I do see another cookie there which I create with a frontend library. But not this one.

I suspect a cross domain issue but could be wrong.

EDIT: Express.js contributer just told me it can’t be done cross domain. I’m now looking for an alternative option.