Giter Club home page Giter Club logo

aspnetcore.totp's People

Contributors

atifaziz avatar cmjchrisjones avatar damirkusar avatar simon-curtis avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

aspnetcore.totp's Issues

return File(qrCode.QrCodeImageBytes, "image/png"); not working

return File(qrCode.QrCodeImageBytes, "image/png");
always giving me that
'TotpSetup' does not contain a definition for 'QrCodeImageBytes' and no accessible extension method 'QrCodeImageBytes' accepting a first argument of type 'TotpSetup' could be found (are you missing a using directive or an assembly reference?)

everything else works fine

Unexpected result from the Google QR web site

This plugin has been running flawlessly for a year now, but since today (we just noticed it) we're getting the following error. Is there an issue with the Google QR website or does this library needs updating? Thank you in advance.

System.Net.Http.HttpRequestException: Unexpected result from the Google QR web site.
       ---> System.Exception: Unexpected result from the Google QR web site.
         at AspNetCore.Totp.TotpSetupGenerator.GetQrImage(String url, Int32 timeoutInSeconds)
         --- End of inner exception stack trace ---
         at AspNetCore.Totp.TotpSetupGenerator.GetQrImage(String url, Int32 timeoutInSeconds)
         at AspNetCore.Totp.TotpSetupGenerator.Generate(String issuer, String accountIdentity, String accountSecretKey, Int32 qrCodeWidth, Int32 qrCodeHeight, Boolean useHttps)

Tested with Microsoft Authenicator

It is working great with Microsoft Authenicator too, so you can maybe extend your documentation and add this fact too.
I tested both, manual setup and QR Code on my iPhone and all worked like a charm.

Thank you for great library.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.