Skip to content

Commit

Permalink
Orbidder Bid Adapter adds withCredentials=true header for bid and win…
Browse files Browse the repository at this point in the history
… requests (#4464)

* orbidder adapter: add withCredentials:true header to BidRequest and onBidWon Requests

* add blank in order to trigger build again

* remove blank to trigger build ... again

* adding extra line to trigger build ... again
  • Loading branch information
RainerVolk4014 authored and Mike Chowla committed Dec 2, 2019
1 parent 84818c9 commit c2d9c70
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion modules/orbidderBidAdapter.js
Original file line number Diff line number Diff line change
Expand Up @@ -28,9 +28,11 @@ export const spec = {
if (bidderRequest && bidderRequest.refererInfo) {
referer = bidderRequest.refererInfo.referer || '';
}

const ret = {
url: `${spec.orbidderHost}/bid`,
method: 'POST',
options: { withCredentials: true },
data: {
pageUrl: referer,
bidId: bidRequest.bidId,
Expand Down Expand Up @@ -86,7 +88,7 @@ export const spec = {
},

ajaxCall(endpoint, data) {
ajax(endpoint, null, data);
ajax(endpoint, null, data, { withCredentials: true });
}
};

Expand Down

0 comments on commit c2d9c70

Please sign in to comment.