Stop building authentication. Build your product instead.
When I first started building applications, authentication always looked something like this:
A users table
Store password hashes
Build a login API
Generate a JWT
Store the userId in the rest of
piyushagarwal.hashnode.dev3 min read