Melody Auth

Website

OAuth 2.0 and authentication server for Cloudflare Workers or Node.js

636 stars 68 forks last commit first released MIT

Actively maintained

Last commit 2 Sept 2026.

Melody Auth screenshot

Melody Auth is a turnkey OAuth 2.0 and authentication system you can run on Cloudflare Workers (with D1 and KV) or self-host on Node.js with Redis and PostgreSQL. It provides a complete auth server, management UI, and developer-facing APIs and SDKs for integrating secure login flows into applications.

Key Features

  • OAuth 2.0 flows including authorization, token exchange, refresh token revoke, scopes, consent, and user info retrieval
  • OpenID Connect support (discovery/openid configuration) and JWT/JWKS-based authentication with key rotation
  • Multi-factor authentication options including email/OTP/SMS, passkeys, recovery codes, and “remember device”
  • External identity providers including social login (Google, GitHub, Discord, Apple, etc.) and OIDC providers; SAML SSO in Node.js deployments
  • Role-based access control (RBAC), user attributes, account linking, organizations and groups
  • Admin panel for managing users, apps, roles/scopes, organizations, IdPs, and logs (including impersonation)
  • Server-to-server REST API plus embedded auth API and frontend SDKs for web, React, Angular, and Vue
  • Brute-force protection and security-focused logging for sign-in and verification flows

Use Cases

  • Ship OAuth/OIDC authentication for new products with a built-in admin console
  • Add MFA, passkeys, and social login to existing apps without building auth from scratch
  • Run an internal identity provider for multiple apps with RBAC, org/group management, and audit-friendly logs

Melody Auth is well-suited for teams that want a complete, customizable auth stack with minimal operational overhead on the edge or full control in a traditional server deployment.

Categories:

Tags:

Tech Stack:

Share:

Similar to Melody Auth

Logto logo

Logto

Authentication and authorization platform for apps and APIs

14.5k
1.2k
Last commit

Open-source authentication and authorization infrastructure with OIDC/OAuth 2.1, SAML SSO, multi-tenancy, MFA, and RBAC for SaaS and AI apps.

MPL-2.0Actively maintained
Alternative to:
Auth0 logo
Auth0
+19
ZITADEL logo

ZITADEL

API-first identity and access management platform for applications

14.9k
1.3k
Last commit

ZITADEL is an open source IAM/CIAM platform providing SSO, MFA, OIDC/OAuth2, SAML, user management, and multi-tenant organizations with audit logging.

AGPL-3.0Actively maintained
Alternative to:
Auth0 logo
Auth0
+19
authentik logo

authentik

Open-source Identity Provider (IdP) for SSO, OIDC, and SAML

25.3k
2k
Last commit

Open-source IdP delivering SSO, OAuth2/OIDC, SAML2, LDAP, RADIUS, MFA, WebAuthn, conditional access and application-proxy capabilities for self-hosted deployments.

Actively maintained
Alternative to:
Okta logo
Okta
+19
FusionAuth logo

FusionAuth

Self-hosted identity and access management for applications

FusionAuth is a self-hosted authentication and IAM platform supporting OAuth2, OIDC and SAML, with SSO, MFA, user management and developer-focused integrations.

Activity unknown
Alternative to:
Auth0 logo
Auth0
+19
Keycloak logo

Keycloak

Open-source identity and access management with SSO

36.6k
8.9k
Last commit

Keycloak is an open-source IAM server providing single sign-on, user federation, and centralized authentication and authorization using OIDC, OAuth 2.0, and SAML.

Apache-2.0Actively maintained
Alternative to:
Okta logo
Okta
+19
Wiki.js logo

Wiki.js

Modern, extensible wiki software built on Node.js

28.8k
3.3k
Last commit

A modern, extensible Node.js wiki with Markdown editing, powerful admin tools, multiple auth options, and support for popular SQL databases.

AGPL-3.0Actively maintained
Alternative to:
Atlassian Confluence logo
Atlassian Confluence
+19