Nextjs unable to set cookie after production deployment

   const cookie: string = `access_token=${token}; sameSite=none; secure=true; path=/; domain=.fly.dev`;
   response.setHeader("Set-Cookie", cookie)

Hi!

It seems youre using our domain to set the cookie. Try to make it specific to your app to see if it helps.

Other than that, can you describe a little bit more about your problem?