Closed variable closed 1 year ago
OK... after some digging the newer fido2 package's register_begin
has changed, it used to accept parameter resident_key
as boolean, eg. resident_key=SETTINGS.resident_key
But the new version now accepts resident_key_requirement
which only allows "required", "preferred" or "discouraged"
So testing with "preferred" and it worked
return self.server.register_begin(self.get_user_data(user), credentials,
user_verification=self.user_verification,
resident_key_requirement='required')
Therefore, the DJANGO_FIDO_RESIDENT_KEY settings needs to be changed from boolean to those 3 options
Just testing to upgrade to the latest version from version
0.x
I seems the user handle is not stored in the Fido key, I examined the data when adding the authenticator via admin
Whereas the
0.x
version would not have thisdiscouraged
settingAm I missing something?