diff --git a/spec/acceptance_helpers.rb b/spec/acceptance_helpers.rb
index d1ce52c951607c33cc74dbea231916f2c7512592..ad427c216e04b22cdaeb88d7355c964630f2fb11 100644
--- a/spec/acceptance_helpers.rb
+++ b/spec/acceptance_helpers.rb
@@ -1,6 +1,7 @@
 require 'rails_helper'
 require 'rspec_api_documentation'
 require 'rspec_api_documentation/dsl'
+require 'spec_helper'
 
 RspecApiDocumentation.configure do |config|
   config.format = [:json, :combined_text, :html, :markdown]
@@ -8,6 +9,18 @@ RspecApiDocumentation.configure do |config|
   config.api_name = 'PortalMEC API'
 end
 
+RSpec.configure do |config|
+  config.before(:each) do |spec|
+    if spec.metadata[:type].equal? :acceptance
+      header 'Accept', 'application/json'
+      header 'Content-Type', 'application/json'
+      header 'access-token', :access_token
+      header 'client', :auth_client
+      header 'uid', :uid
+    end
+  end
+end
+
 module Helper
   def self.serialize(objects)
     serializer = objects.is_a?(Array) || objects.is_a?(ActiveRecord::Relation) ? ActiveModel::Serializer::CollectionSerializer : "#{objects.class.name}Serializer".constantize