I'm using ASP.NET identity 2 and one of the tutorials includes using a 3rd part provider to generate a QR Code for Google authenticator for two-factor authentication. However, I don't want to send that data to a 3rd party (which is what other solutions point to, like google, etc). I'm specifically looking for code to solve my issue.
I'd like either the server or the client to generate the QR Code. Anyone else have a good solution for doing this? Below is the line of code that generates the QR Code in the cshtml file. The @(Model.BarcodeURL)
is the razor model attribute with the data for the QR Code.
<img src="http://qrcode.kaywa.com/img.php?s=4&d=@(Model.BarcodeUrl)" />