kspearrin / Otp.NET

A .NET implementation of TOTP and HOTP for things like two-factor authentication codes.
https://www.nuget.org/packages/Otp.NET
MIT License
1.05k stars 161 forks source link

Does not work with Microsoft https://mysignins.microsoft.com/security-info #62

Open mhoang-woolworths-com-au opened 3 months ago

mhoang-woolworths-com-au commented 3 months ago

I have tried this on https://mysignins.microsoft.com/security-info choose Add new authentication method > Authenticator > not microsoft authenticator > grab the secret key, generate the 6 digits token to register but it never works tried for 30 mins (with fresh tokens)

joaodev7 commented 3 weeks ago

It will depend on how you are creating the QRCode. I just tested it in my implementation and everything is fine. Can you share the QRCode creation code?