79428126

Date: 2025-02-10 19:45:11
Score: 2.5
Natty:
Report link

Even after OTP validation, don’t authenticate users directly based on a response. Instead, generate a secure JWT token that is used for further authentication. Even if an attacker modifies the API response, they cannot generate a valid JWT, preventing unauthorized access.

Reasons:
  • Low length (0.5):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Ronit Yadav