Skip to content

Commit 13c57d4

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 <[email protected]>
1 parent 1a7dfdf commit 13c57d4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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)