LDAP Authentication with Smartcard/PKI

We are working on implementing JupyterHub, but one of the business requirements is to use LDAP Authentication, and for our LDAP accounts we use smartcards with certificates and PINs. I was able to get JupyterHub installed using LDAP for authentication, but it is prompting for a username and password instead of having the certificate/PIN prompt I am expecting.

Is there anyway to configure JupyterHub with LDAP authentication to prompt for a smartcard certificate and PIN instead of username and password?

I think you’ll need to write your own authenticator, for example by subclassing the existing LDAPAuthenticator.