I made a small auth server template for Deno Deploy
finxol
May 26, 2025
I'm currently messing around with Deno Deploy to build a tiny little service for myself, and I needed authentication—all apps need auth nowadays, url scanners are out of control.
I didn't really want to have the auth server coupled with the main service, so I just made it into a separate repository.
The advantage here is that it's very minimal, so it runs for free no problem.
It's just a very basic wrapper around OpenAuth, using Deno KV for storage. It took me an afternoon to put together properly,
but if you need a little auth server and not bother too much, this might be a good starting point.
With that, I can now use my own domain to authenticate users, and I only need my url and client id key.
So go crazy, follow the instructions in the README, and deploy it to Deno Deploy!
Discussion in the ATmosphere