-
-
Notifications
You must be signed in to change notification settings - Fork 185
Open
Labels
bugSomething isn't workingSomething isn't working
Description
Bug report
- I confirm this is a bug with Supabase, not with my own application.
- I confirm I have searched the Docs, GitHub Discussions, and Discord.
Describe the bug
When calling function supabase.auth.mfa.listFactors()
, the retrieved data returns Factor[]
. These factors have a last_challenged_at
attribute. I can see the attribute in console but the Factor
type interface does not include it.
Is it intended ?
Factor
type here hava every attribut except last_challenged_at
:
Lines 298 to 315 in cff5bcb
export interface Factor { | |
/** ID of the factor. */ | |
id: string | |
/** Friendly name of the factor, useful to disambiguate between multiple factors. */ | |
friendly_name?: string | |
/** | |
* Type of factor. `totp` and `phone` supported with this version | |
*/ | |
factor_type: 'totp' | 'phone' | (string & {}) | |
/** Factor's status. */ | |
status: 'verified' | 'unverified' | |
created_at: string | |
updated_at: string | |
} |
To Reproduce
Just run await supabase.auth.mfa.listFactors();
on any session with TOTP configured devices.
System information
- Version of supabase-js: 2.69.1
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working