|
This article focuses on implementing biometric two-factor authentication (2FA) and risk-based authentication (RBA) in a cryptocurrency wallet built with Python and Flask using the TypingDNA Authentication API.
TypingDNA helps protect user accounts with robust typing biometrics analysis, accurately and passively. With TypingDNA, you can learn and match your users’ typing patterns and use that information for multi-factor authentication (MFA) on your web platforms.
This article includes a step-by-step guide to integrating TypingDNA Authentication API into a Python web application. We will add an extra layer of security to user authentication and authenticate users before doing risk-based actions like withdrawal.
A Brief Introduction to TypingDNA
Of course, we now know TypingDNA is a company that provides a biometrics authentication API. But how does it authenticate users?
At its core, TypingDNA listens and records users’ keystrokes as they type to analyze their patterns using its biometrics engine. TypingDNA is used in cases where you need to be sure the intended user is the one acting, such as resetting account passwords, multi-factor authentication, risk-based authentication, or as an alternative for OTPs.
TypingDNA is not constrained to specific use cases or authentication stacks and can be incorporated any place within your architecture where end users are typing. We will be exploring most of this together momentarily. But if you’re eager to learn more, check out the TypingDNA documentation.
|