Alternative to force_client_auth

19 views
Skip to first unread message

Paulin Todev

unread,
Sep 29, 2020, 1:05:33 PM9/29/20
to grpc.io
Hi,

According to the wiki, force_client_auth is deprecated:

However, it doesn't mention a non-deprecated way to force client authentication? If anyone could please kindly clarify what we should use instead of force_client_auth that'd be very useful.

Thanks,
Paulin

yih...@google.com

unread,
Oct 8, 2020, 5:11:29 PM10/8/20
to grpc.io

You need to use GRPC_SSL_REQUEST_AND_REQUIRE_CLIENT_CERTIFICATE_AND_VERIFY (https://github.com/grpc/grpc/blob/master/include/grpc/grpc_security_constants.h#L108) as a replacement.
Reply all
Reply to author
Forward
0 new messages