2

We have implemented an web application (ASP.NET 5) and enabled Windows Authentication in IIS.

The Edge browser prompts an authentication dialog which requests an username and password. The dialog provides an link "More choices" where we can authenticate via an smart card:

Windows Autentication Edge - Smart Card

We do not know if there is a special windows configuration which provides the smart card authentication in this dialog.

Unfortunately, Google Chrome and Firefox do not provide the authentication via smart card. Only password is provided:

Windows Authentication Chrome

Question: Is it possible to enable smart card authentication for the build-in dialogs in Chrome and Firefox like in Microsoft´s Edge?

Simon
  • 4,157
  • 2
  • 46
  • 87

1 Answers1

1

I have not tried the method you are talking about but suggest you to try cross browser, cross platform solution by using Browser Extension. Browser extension communicates with underlaying host running on client user's system to access (Windows) Certificate Store or (Win CSP & Linux/Mac PKCS#11) Smartcard connected locally.

Refer to point no. 3 of SO Answer to know how it works. Working sample of Smartcard User Web Authentication may be explored Here and documentation Here

To Register Certificate on Server:

//Get Selected Certificate Information
try { 
    var CertInfo = await SignerDigital.getSelectedCertificate() ;           
}
catch(errmsg) {
            //Display Errmsg
}

To authenticate or Login using Digital Signature:

authToken = <userid>|<password>; //or say any user cetdentials or id
try {
    var SignData = await SignerDigital.signAuthToken(authToken, "SHA256");
//Post signed Data to server along with original authToken
}
catch (errMsg){
    //display errMsg.
}
Bharat Vasant
  • 850
  • 3
  • 12
  • 46