mirror of
https://github.com/miniflux/v2.git
synced 2025-06-27 16:36:00 +00:00
feat(webauthn): perfer creation of a client-side discoverable credential
This commit is contained in:
parent
596d22c02c
commit
b65373db7e
1 changed files with 2 additions and 0 deletions
|
@ -105,6 +105,8 @@ func (h *handler) beginRegistration(w http.ResponseWriter, r *http.Request) {
|
||||||
nil,
|
nil,
|
||||||
},
|
},
|
||||||
webauthn.WithExclusions(credsDescriptors),
|
webauthn.WithExclusions(credsDescriptors),
|
||||||
|
webauthn.WithResidentKeyRequirement(protocol.ResidentKeyRequirementPreferred),
|
||||||
|
webauthn.WithExtensions(protocol.AuthenticationExtensions{"credProps": true}),
|
||||||
)
|
)
|
||||||
|
|
||||||
if err != nil {
|
if err != nil {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue