Mar 18, 2019 09:37 AM|Yuki Tao|LINK
If you would like to enable windows authentication,you need to set configration,like:
<system.webServer> […] <security> <authentication> <anonymousAuthentication enabled="false"/> <windowsAuthentication enabled="true"/> </authentication> </security> </system.webServer>
You could refer to:
for those without user ID, allow them to login by using scan badge
What kind of third-party library do you want to choose?
If you want to mix authentication,generally,we use
Owin,and replace forms with QR code.
The code contains address to the central server + unique identifier of the token that has been assigned by server to the session on the desktop computer. After scanning the code, the phone is opening a page that checks if it has been used with this service
before by looking for a cookie containing encrypted information about the user’s credentials (hash of username/user id). The hash is being checked against server’s database and if it’s valid - token in database is being updated with information that the access
is granted to user X. Phone shows information that the user has logged to site XYZ.
Browser on desktop is constantly checking status of the token and once it says that the user has “logged in” - it’s redirecting to secure part of website. Job done!
you could refer to this article:
Hope my reply will be helpful to you.