https://github.com/ajaichemmanam/react_3d_keypad
A sample login process that uses Force Touch to act as an additional security measure.
https://github.com/ajaichemmanam/react_3d_keypad
force-touch forcetouch login-page reactjs security
Last synced: 2 months ago
JSON representation
A sample login process that uses Force Touch to act as an additional security measure.
- Host: GitHub
- URL: https://github.com/ajaichemmanam/react_3d_keypad
- Owner: ajaichemmanam
- Created: 2020-05-20T18:41:30.000Z (about 6 years ago)
- Default Branch: master
- Last Pushed: 2022-02-21T12:36:15.000Z (over 4 years ago)
- Last Synced: 2025-06-03T02:11:24.571Z (about 1 year ago)
- Topics: force-touch, forcetouch, login-page, reactjs, security
- Language: JavaScript
- Homepage: https://ajaichemmanam.github.io/react_3D_Keypad/
- Size: 875 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# react_3D_Keypad
This repo contains react component that provides additional features to a login page.
It uses Force Touch (3D Touch) on supported devices to read pressure values along with pins as passwords.
Fall back method Polylines is used on unsupported devices.
The login will be successful only if both pin and pressure matches to that of registered.
# Demo
Deployed in Github Pages: https://ajaichemmanam.github.io/react_3D_Keypad/
# Usage
- Enter any number (Eg. 1486)
- Keep Pressing on any digit (Eg.4) for a higher force
- Click Register
- Try to enter with same number but without force or long press on the digit (Fails)
- Try to enter using the same force applied on the digit (Success)
# Supported Devices
Future devices and browsers that support pressure will be added when they are released.
- Microsoft Surface, Wacom Tablets (Device that supports pointer events): Chrome, Opera, IE, Edge
- iPhone 6s, iPhone 6s Plus, iPhone 7, iPhone 7 Plus : Safari, Chrome, anything using WKWebView
- MacBook & MacBook Pro 2015 and later: Safari
- Magic Trackpad 2 : Safari
- iPad Pro with Apple Pencil : Safari, Chrome, anything using WKWebView
# Credits
@github/rubcuadra