How is it possible to perform the below query with 'user B' while being logged in as 'user A' and not exiting 'user A' session?
var settings = {
"async": true,
"crossDomain": true,
"url": "www.url.com",
"method": "GET",
"headers": {
"authorization": "Basic [BASE64]",
"cache-control": "no-cache",
}
While being logged with user A, I perform this query and get immediately logged in with user B and my session is overwritten with user B. I'm attempting this while using a Chrome Extension.
The 'User B' account is a generic account with permissions to perform API calls which 'User A' does not have.