A dead-simple authentication API which sends pin codes to the user email.
419
A lightweight authentication API that sends PIN codes to users via email — perfect for hobby projects, prototypes, or internal tools (like back-office systems).
⚠️ Not for banks or high-traffic applications — just simple, no-fuss authentication when you want full control without the overhead.
Create a local directory (LOCAL_DIR) to store your user database and configuration.
Save the following as config.ini inside your local directory:
# config.ini
[database]
URI = sqlite:////app/database.db
TRACK_MODIFICATIONS = False
[app]
DEBUG = True
TESTING = False
PORT = 5001
HOST = 127.0.0.1
[mode]
MULTI = True
EMAIL = "[email protected]"
[mail_server]
HOST = "mail.privateemail.com"
NAME = "Private Mail"
NOREPLY = "[email protected]"
PASSWORD = "*******"
PORT = 587
USER = "[email protected]"
[mail_template]
BODY = "Please enter the following pin code to login"
DESCRIPTION = ""
NAME = "Private mail"
SUBJECT = "Pin code"
---
### Api documentation
https://rapidapi.com/philippe234/api/otp-authentication-api-email
###
[Sample application](https://github.com/PhilippePerez/api-authentication-email-demo/tree/master)
Content type
Image
Digest
sha256:0a87dda09…
Size
63.5 MB
Last updated
about 1 year ago
docker pull philippeperez/api-authentication-email:v1_0_4