Include full E2E auth headers
This commit is contained in:
parent
2272f4ab04
commit
9ecaa24afd
|
|
@ -120,7 +120,7 @@ module TurniereE2E
|
||||||
end
|
end
|
||||||
|
|
||||||
def store_auth_headers!(response)
|
def store_auth_headers!(response)
|
||||||
%w[access-token client uid].each_with_object({}) do |key, auth_headers|
|
%w[access-token client uid expiry token-type authorization].each_with_object({}) do |key, auth_headers|
|
||||||
auth_headers[key] = response[:headers][key] if response[:headers].key?(key)
|
auth_headers[key] = response[:headers][key] if response[:headers].key?(key)
|
||||||
end.tap do |headers|
|
end.tap do |headers|
|
||||||
@auth_headers = headers unless headers.empty?
|
@auth_headers = headers unless headers.empty?
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue