Skip to content

useElevateSecurityKeyEmail()

Use the hook useElevateSecurityKeyEmail to elevate the user auth permission in order to perform sensitive operations

const { elevateEmailSecurityKey, elevated } = useElevateSecurityKeyEmail()
console.log({ elevated })
await elevateEmailSecurityKey('joe@example.com')