I'm building Chrome Extension where user can login to my app, fetch data from server and see data quickly.
User can login to app via API, but when I want to fetch data with GET request I got 401 Unauthorized. I guess it's because GET request don't have "Origin" header added.
When doing any POST request after login it's working perfectly fine, and "Origin" is visible in headers.
Is there way to force extension to add "Origin" header to GET requests?
I'm using cookie session.