Task: Build a Secure Authentication API with Hashed Passwords and Token-Based Access
Task: Build a Secure Authentication API with Hashed Passwords and Token-Based Access: a task in Terminal-Lego-15k (Harbor dataset). You are tasked with building a secure REST authentication system in Python that demonstrates best practices for handling user credentials. The system must accept…
The task
You are tasked with building a secure REST authentication system in Python that demonstrates best practices for handling user credentials. The system must accept username and password via a JSON body in a POST request, verify credentials using salted password hashing, and issue time-limited API tokens for subsequent…
Part of PrimeIntellect/Terminal-Lego-15k.