Notes on Cookies 🍪

1 · Anthony Lukach · April 1, 2023, midnight
Why cookies? Making authenticated anchor tags Can’t specify headers with <a> tags. Could supply token as query parameter, but that’s a security concern due to potential of token being cached with URL. No need to manage JWTs within your application Things that are annoying about JWTs when building frontend applications: You need to choose where to store the JWTs You need to supply the JWT to any code making API requests How cookies?...