https://github.com/Dogeforce/lwc-otp
OTP codes in your record screens!
https://github.com/Dogeforce/lwc-otp
Last synced: 2 months ago
JSON representation
OTP codes in your record screens!
- Host: GitHub
- URL: https://github.com/Dogeforce/lwc-otp
- Owner: Dogeforce
- License: mit
- Created: 2021-04-25T16:05:37.000Z (about 4 years ago)
- Default Branch: master
- Last Pushed: 2024-11-19T18:24:33.000Z (7 months ago)
- Last Synced: 2024-11-19T19:38:57.413Z (7 months ago)
- Language: JavaScript
- Size: 146 KB
- Stars: 2
- Watchers: 3
- Forks: 3
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome-lwc - LWC-OTP
README
# LWC OTP
[Deploy to Salesforce](https://githubsfdeploy.herokuapp.com/app/githubdeploy/Dogeforce/lwc-otp)
This component adds an OTP generator in a record page of your choice. Assuming the secret is stored in a field, that is.
Library used to calculate the code is the [jsOTP](https://github.com/jiangts/JS-OTP/).
## Screenshots
### When there's plenty of seconds to copy and paste the code elsewhere

### When time is running out

## API
|Attribute|Description|
|--|--|
|Title|Title to be displayed|
|Icon name|Icon name according to the Lightning Design System naming convention.|
|Field API Name|API name of the field in the current record that stores the OTP secret.|## Limitations
At this moment there is no option to use codes that differ from the standard 30 second SHA1 6-digit defaults.