Use the composable useElevateSecurityKeyEmail to elevate the user auth permission in order to perform sensitive operations
useElevateSecurityKeyEmail
const { elevateEmailSecurityKey, elevated } = useElevateSecurityKeyEmail() watchEffect(() => { console.log(elevated) }) await elevateEmailSecurityKey('joe@example.com')
Was this page helpful?