thanks for reply, Jake~ but i don't get it. I noti...
# spicedb
y
thanks for reply, Jake~ but i don't get it. I noticed that authzed-py's insecure_bearer_token_credentials(token) implementation also used this grpc.local_channel_credentials(LOCAL_TCP), but that doesn't work as i mentionedđŸ˜–
Copy code
def insecure_bearer_token_credentials(token: str):
    """
    gRPC credentials for an insecure service that requires a Bearer Token.

    This should only be used for testing.
    """
    return grpc.composite_channel_credentials(
        grpc.local_channel_credentials(grpc.LocalConnectionType.LOCAL_TCP),
        grpc.access_token_call_credentials(token),
    )

client = Client(
    "<myIP>:50051",
    insecure_bearer_token_credentials("myrandomkey"),
)