Visitar URL original
Created the grpc client auth header interceptor and removed the manua… · feast-dev/feast@c456222 · GitHub
Skip to content

Commit c456222

Browse files
lokeshrangineniredhatHameed
authored andcommitted
Created the grpc client auth header interceptor and removed the manual injection of the header.
Signed-off-by: Lokesh Rangineni <lokeshforjava@gmail.com> Signed-off-by: Abdul Hameed <ahameed@redhat.com>
1 parent 23093db commit c456222

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎sdk/python/feast/permissions/client/grpc_client_auth_interceptor.py‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ def _append_auth_header_metadata(self, client_call_details):
5252
auth_client_manager = get_auth_client_manager(self._auth_type)
5353
access_token = auth_client_manager.get_token()
5454
metadata.append(
55-
(b"Authorization", b"Bearer " + access_token.encode("utf-8"))
55+
(b"authorization", b"Bearer " + access_token.encode("utf-8"))
5656
)
5757
client_call_details = client_call_details._replace(metadata=metadata)
5858
return client_call_details

0 commit comments

Comments
 (0)