generated from sergiodxa/remix-auth-strategy-template
-
Notifications
You must be signed in to change notification settings - Fork 8
Open
Description
I noticed the transports
property types differ between the Authenticator
and WebAuthnAuthenticator
interfaces. One is string
and the other a string[]
.
This leads to inconsistency in the way the strategy is configured (getUserAuthenticators
vs getAuthenticatorById
). Could both be string[]
?
interface WebAuthnAuthenticator {
id: string;
transports: string[];
}
export interface Authenticator {
id: string;
userId: string;
publicKey: string;
counter: number;
credentialDeviceType: string;
credentialBackedUp: boolean;
transports: string;
aaguid: string;
}
Metadata
Metadata
Assignees
Labels
No labels