LoginSignup
Sumit

Sumit

shekharsumit65@gmail.com

Dropped 1 month ago,

Last activity 1 day ago

1 answers

Secure Student-Only Auth (ID Card Scan + OTP)

✅ Auth Flow

  1. ID Card Scan

    • OCR extract student ID info
    • Match with backend student records
  2. OTP Verification

    • Send OTP to registered phone/email
    • Verify OTP to authenticate
  3. Secure Session

    • Issue JWT or session token
    • Store token securely on device

TaskLibrary
OCR / ID Scanreact-native-ml-kit
OTP Auth@react-native-firebase/auth
Secure Token Storereact-native-keychain / SecureStore
HTTP Requestsaxios (with HTTPS)

Security Tips

  • Use on-device OCR to avoid PII leaks
  • OTP: 5 min expiry, rate limit, secure backend check
  • Store tokens in Keychain, not AsyncStorage
  • Always use HTTPS
  • Validate student ID → OTP on server-side
Question
1 of 1