title: Localhost development with cookies
body: <p>I have a google cloud bucket CDN-Cookie to access my google cloud bucket pictures. On my web server everything is working great with setting the cookies and retrieving the image. But in my development environment, I'm on localhost and it's not sending the cookies because it doesn't have https. What's the go-to approach for a development environment to deal with this kind of issue as making localhost to https://localhost seems quite complex for multiple development environments.</p>
  <p><strong>Here the http://localhost cookie error</strong></p>
  <blockquote>
  <p>Migrate entirely to HTTPS to have cookies sent to same-site
  subresources A cookie was not sent to a secure origin from an insecure
  context. Because this cookie would have been sent across schemes on
  the same site, it was not sent. This behavior enhances the SameSite
  attribute’s protection of user data from request forgery by network
  attackers. Resolve this issue by migrating your site (as defined by
  the eTLD+1) entirely to HTTPS. It is also recommended to mark the
  cookie with the Secure attribute if that is not already the case.</p>
  </blockquote>