Closed p-ryan closed 4 years ago
Is there a reason that public_key["allowCredentials"]
is an empty list to start with rather than None
?
Regardless, I think it would be more helpful if the Fido2Client strips the empty list instead of passing it to the Authenticator (so that you can pass either an empty list or None), so I'll go ahead and implement that change for the next release.
Closing as this was implemented in c4e4e6b.
Follow-up from issue #75:
I was able to get resident keys to work with 0.8.1, thanks! In order to get it to work, I had to delete 'allowCredentials' from public_key (it was an empty list) before calling client.get_assertion.
I have the following code in place but it doesn't seem ideal:
Otherwise it works!
Thanks, Patrick