Limen: composable authentication library for Go

Limen is an authentication library for Go with support for sessions, credential/password auth, OAuth/OIDC, magic links, 2FA, organizations, roles & permissions, and more.

I recently added a guide covering how to build multi-tenant applications with Limen’s Organization plugin, including memberships, invitations, tenant switching, and protecting tenant-scoped data.

Guide:

GitHub: