Closed variable closed 1 year ago
You can override the user_verification
when you are defining the url:
path('fido2', Fido2View.as_view(user_verification=...)
Ah cool didn't realise that I could pass it in like that
but @tpazderka that doesn't help if I am using the admin to add the authenticators
Yes, then there is currently no easy way.
The easiest is to subclass AuthenticatorAdmin
and redefine its get_urls
to pass the user_verification
as a kwarg.
But doing it a setting is acceptable as well.
Cool I will make a PR
My company wants to enforce it to be 'Required' but I don't want to create custom views to set the
user_verification
, can this be set via settings eg.user_verification = SETTINGS.user_verification
thoughts?