We build tools for self-hosted server management. Our public project is Herugrim — everything else is internal tooling for our gaming group.
A Cloudflare Worker that lets you authenticate with Cloudflare Access using Discord. It wraps OIDC around Discord's OAuth2 API so Cloudflare Access can use Discord as an identity provider — no separate identity service needed.
Fork of Erisa/discord-oidc-worker with several improvements:
- Environment-based config — all settings via Wrangler env vars and secrets, no credentials in source code
- Admin role detection — checks for a specific Discord role and includes
is_adminin the JWT, so your app can do role-based access control without a separate admin system - Rich user claims — the ID token includes a
discord_userobject with full profile data (ID, username, display name, avatar, discriminator) instead of just email - Dynamic OAuth scopes — only requests
guilds.members.readwhen admin detection is enabled, reducing permissions for simpler setups - No KV dependency — signing keys are generated in-memory, no Cloudflare KV namespace to set up
- Error handling — all Discord API calls are validated with descriptive error responses
- Health endpoint —
GET /healthfor uptime monitoring - Optional guild restriction — limit access to members of specific Discord servers
- One-click deploy — deploy button in the README for quick Cloudflare Workers setup
If you're using Cloudflare Access and want Discord login, this is what you need. Check the repo README for setup instructions.
Tech: Cloudflare Workers, Hono, Jose · License: MIT
The rest of our repos are private tools we use to manage a dedicated game server, media streaming, and system monitoring for our friend group.
- meduseld-backend — Flask API and control panel for managing a dedicated game server, Jellyfin SSO, system monitoring, and user management
- meduseld-site — Static frontend pages served via Cloudflare Pages (services hub, admin panel, system monitor)
@quietarcade · @Hier0g1yphiK · @glenwinters859 · @ThomasDrennan
