Skip to content

Modern Docker Management, Designed for Everyone

chore: fix webauthn bump

Kyle Mendell98f3d7a87a23
diff --git a/backend/internal/passkey/service.go b/backend/internal/passkey/service.go
index f41de091a..679b35060 100644
--- a/backend/internal/passkey/service.go
+++ b/backend/internal/passkey/service.go
@@ -456,7 +456,7 @@ func (s *passkeyService) BeginRegistration(ctx context.Context, userID, sessionI
creation, session, err := s.webAuthn.BeginRegistration(
adapter,
webauthn.WithExclusions(exclusions),
- webauthn.WithExtensions(map[string]any{"credProps": true}),
+ webauthn.WithExtensions(webauthn.WithExtensionCredProps()),
webauthn.WithResidentKeyRequirement(protocol.ResidentKeyRequirementRequired),
)
if err != nil {