Skip to main content

One post tagged with "authentication"

Authentication and authorization in web applications

View All Tags

Set Up User Authentication in Minutes — With or Without a Standalone Database Using lihil-auth

· 5 min read
raceychan
author of lihil, a developer.

security

As someone who has worked on multiple web projects, I’ve found user authentication to be a recurring pain point. Whether I was integrating a third-party auth provider like Supabase, or worse — rolling my own auth system — I often found myself rewriting the same boilerplate:

  • Configuring JWTs

  • Decoding tokens from headers

  • Serializing them back

  • Hashing passwords

  • Validating login credentials

And that’s not even touching error handling, route wiring, or OpenAPI documentation.

So I built lihil-auth, a plugin system that makes user authentication a breeze. It supports both third-party platforms like Supabase and self-hosted solutions using JWT — with minimal effort.