{
"$type": "site.standard.document",
"canonicalUrl": "https:/finxol.eu/posts/tiny-auth-server",
"description": "I've fallen in love with Deno and its Deploy service, but also OpenAuth, so I made a simple template to deploy OpenAuth to Deno Deploy, using Deno KV for storage.",
"path": "/posts/tiny-auth-server",
"publishedAt": "2025-05-26T00:00:00.000Z",
"site": "at://did:plc:hpmpe3pzpdtxbmvhlwrevhju/site.standard.publication/3mndozltfas27",
"tags": [
"auth",
"open source"
],
"textContent": "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.\n\nI didn't really want to have the auth server coupled with the main service, so I just made it into a separate repository.\nThe advantage here is that it's very minimal, so it runs for free no problem.\n\nIt's just a very basic wrapper around OpenAuth, using Deno KV for storage. It took me an afternoon to put together properly,\nbut if you need a little auth server and not bother too much, this might be a good starting point.\n\nWith that, I can now use my own domain to authenticate users, and I only need my url and client id key.\n\nSo go crazy, follow the instructions in the README, and deploy it to Deno Deploy!",
"title": "I made a small auth server template for Deno Deploy"
}