lockb0x-llc / Stellar-DotNet-Identity-Framework

This framework provides a full-featured project template for Microsoft Visual Studio to build ASP.NET Razor applications that are integrated with Microsoft Identity Framework and Stellar Blockchain Account Management features.
MIT License
3 stars 1 forks source link

Enhance 2FA setup and refactor identity services #11

Closed steven-tomlinson closed 1 month ago

steven-tomlinson commented 1 month ago

Updated EnableAuthenticator.cshtml to improve HTML structure and load scripts asynchronously. Added new script references for qrcode.js and custom qr.js. Modified GenerateQrCodeUri in EnableAuthenticator.cshtml.cs to encode a new string. Refactored identity services in Program.cs to include custom user and role implementations and set AuthenticatorTokenProvider. Added qrcodejs library to libman.json. Introduced qr.js to generate QR codes on window load.