openflarestack Star this repo
  1. Catalog
  2. Auth & security
  3. Melody Auth
Ranked 29 of 234

Melody Auth

ValueMelody/melody-auth

Host your own OAuth and OIDC login server with an admin panel and SDKs.

A self-hosted alternative to Auth0.

What it sets up in your account

  • D1
    D1 database
    A SQL database for the app’s records.
  • KV
    KV namespace
    A key value store for settings and fast lookups.
Category
Auth & security
Licence
MIT
Stars
649
Last commit
today
Latest release
v1.3.8

Use it with AI or code

  • Markdown for AIPaste into ChatGPT, Claude or any LLM./apps/melody-auth.md
    Open
  • JSON APIFree, no key, CORS open./api/v1/apps/melody-auth.json
    Open

More in the API docs and llms.txt.

Keeping it up to date

Run this in your copy whenever a new version comes out.

terminal
git remote add upstream https://github.com/ValueMelody/melody-auth.git
git pull upstream main
npx wrangler deploy

Melody Auth questions

What is Melody Auth?

Host your own OAuth and OIDC login server with an admin panel and SDKs. It’s an open-source, self-hosted alternative to Auth0. It runs on Cloudflare Workers in your own account.

What does Melody Auth set up in my Cloudflare account?

D1 database and KV namespace. They are created in your account, so the data stays yours.

How do I deploy Melody Auth?

It installs from the command line. Follow the steps in the ValueMelody/melody-auth README.

Is Melody Auth free and open source?

Yes. It’s published under the MIT licence. Running it uses your own Cloudflare account, and small setups usually fit in the free plan.

How do I update Melody Auth?

Pull from the original repository and redeploy: add https://github.com/ValueMelody/melody-auth.git as an upstream remote, run git pull upstream main, then npx wrangler deploy.