From b5578bec2c66ebee783d72c8f06aa45f13803f24 Mon Sep 17 00:00:00 2001 From: Michael Schurter Date: Mon, 8 Jan 2018 12:09:29 -0800 Subject: [PATCH] Include credentials in fetch requests Fixes #3701 Relevant spec section: https://fetch.spec.whatwg.org/#concept-request-credentials-mode --- ui/app/services/token.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ui/app/services/token.js b/ui/app/services/token.js index be1da0c904ab..d51d7510b6f6 100644 --- a/ui/app/services/token.js +++ b/ui/app/services/token.js @@ -19,7 +19,7 @@ export default Service.extend({ }, }), - authorizedRequest(url, options = {}) { + authorizedRequest(url, options = { credentials: 'include' }) { const headers = {}; const token = this.get('secret');