Closed jmichalicek closed 2 months ago
Hi @jmichalicek, thanks for trying out django-otp-webauthn! The package is pretty new and not well tested yet, so bugs like this are bound to happen. I'm still working on a comprehensive test suite that will expose bugs like this.
I'd be very happy if you make a pull request that fixes the issue 👍
If you encounter any other bugs let me know in an issue.
I have installed django-otp-webauthn 0.1.2. I was able so successfully register a passkey but when I try to log in I get an http 500 error back and the following stack trace (as much I firefox would give me in the network inspector tab).
The important bit is this:
And the actual exception message
TypeError at /webauthn/authentication/begin/ unsupported operand type(s) for 'in': 'str' and 'EnumType'
On the main branch, where that code lives has moved a bit, but it still exists. I can submit a fix this evening or this weekend. It should only take a few minutes to fix up.