Im curious how many newer JS+API applications still use browser cookies as a means of authenticating API requests and how prevalent cookie usage still is for these types of applications?
JWT/tokens + Local/session storage + adding fetch headers seems like the best way as long as you don't run untrusted JS.