© 2026 Hedgehog Software, LLC
/factors
{"code":"insufficient_aal","message":"AAL2 required to enroll a new factor"}
getAuthenticatorAssuranceLevel
> const { data, error } = await supabase.auth.mfa.getAuthenticatorAssuranceLevel(); > console.log(data); < { "currentLevel": "aal2", "nextLevel": "aal2", "currentAuthenticationMethods": [ { "method": "mfa/phone", "timestamp": 1762856780 }, { "method": "totp", "timestamp": 1762856749 }, { "method": "password", "timestamp": 1762856735 } ] } > console.log(error); < null