1👍
You don’t need to use None
for KEY_ATTACHMENT
at all. Based on what you need for your project for the KEY_ATTACHMENT
config in your settings.py
module, you should have sth like below configs:
KEY_ATTACHMENT = passkeys.Attachment.PLATFORM
or
KEY_ATTACHMENT = passkeys.Attachment.CROSS_PLATFORM
Also, you can see this config in the example project here in django-passkeys project.
In addition based on this import in this project, if you see
AuthenticatorAttachment
[python-fido2
] object you’ll find out you have just two above configs for this setting.
Source:stackexchange.com