• immortaly007@feddit.nl
      link
      fedilink
      arrow-up
      1
      ·
      1 year ago

      It’s a security thing. The HttpOnly cookie can’t be stolen using XSS or something like that, while a bearer token must be stored somewhere where javascript can see it.