Passkey

Hi! Is there a way to force-check a passkey before an action (like changing password for example)? I can't find anything about it in the docs.
2 Replies
byChixra
byChixraOP2w ago
and being able to use it as a 2nd factor would be nice, instead of TOTP
lonelyplanet
lonelyplanet2w ago
Not possible with better auth atm afaik, One alternative could be you set a column on the user table for example lastVerified2FA and then if that timestamp goes too far out of the safe limit you could just just show an error and stop them from changing the password You would need lots of hooks to do it

Did you find this page helpful?