MCPcopy Index your code
hub / github.com/ValueMelody/melody-auth

github.com/ValueMelody/melody-auth @v1.3.8

Chat with this repo
repository ↗ · DeepWiki ↗ · release v1.3.8 ↗ · + Follow
1,913 symbols 6,182 edges 749 files 5 documented · 0%
What it actually does AI analysis from the code graph — generated when you open this
loading…
README

Melody Auth

Melody Auth is a user-friendly, robust solution for implementing and hosting your own OAuth and authentication system. - Deploy to Cloudflare using Workers, D1, and KV in just minutes — minimizing infrastructure and DevOps overhead. - Self-Host with Node.js, Redis, and PostgreSQL — giving you full control over your data and infrastructure.

codecov

Disclaimer All French translations provided in this project have been generated by AI. Please review them carefully for accuracy before use.

What's included?

Auth Server Features Supported

Admin Panel & S2S REST API Features Supported

Demo & Examples

Screenshots

Authorization Screenshots
Admin Panel Screenshots

License

This project is licensed under the MIT License. See the LICENSE file for details.

Extension points exported contracts — how you extend this code

AdditionalProps (Interface)
(no doc)
sdks/web-sdk/src/flows/triggerLogin.ts
ProviderProps (Interface)
(no doc)
sdks/react-sdk/src/Provider.tsx
AuthState (Interface)
(no doc)
sdks/vue-sdk/src/context.ts
NextAuthProviderProps (Interface)
(no doc)
sdks/nextjs-sdk/src/Provider.tsx
PostTokenByAuthCodeRes (Interface)
(no doc)
shared/src/serverInterface.ts
AuthCodeBodyMfaConfig (Interface)
(no doc)
server/src/configs/type.ts
LinkInputProps (Interface)
(no doc)
admin-panel/components/LinkInput.tsx
AppState (Interface)
(no doc)
admin-panel/stores/app.tsx

Core symbols most depended-on inside this repo

mock
called by 841
server/src/tests/mock.ts
getS2sToken
called by 339
server/src/tests/util.ts
insertUsers
called by 272
server/src/tests/identity.ts
getApp
called by 179
server/src/tests/identity.ts
cn
called by 105
admin-panel/tools/style.ts
sendS2SRequest
called by 77
admin-panel/app/api/request.ts
migrate
called by 69
server/src/tests/mock.ts
postAuthorizeBody
called by 64
server/src/tests/identity.ts

Shape

Function 1,342
Interface 259
Class 171
Method 108
Enum 33

Languages

TypeScript100%

Modules by API surface

server/src/dtos/identity.ts77 symbols
server/src/services/kv.ts59 symbols
server/src/dtos/embedded.ts44 symbols
server/src/services/user.ts37 symbols
server/src/handlers/embedded.ts35 symbols
admin-panel/app/[lang]/users/[authId]/page.tsx34 symbols
server/src/models/user.ts32 symbols
server/src/middlewares/config.ts29 symbols
server/src/handlers/user.ts24 symbols
server/src/dtos/oauth.ts23 symbols
sdks/angular-sdk/src/auth.service.ts23 symbols
server/src/services/mfa.ts21 symbols

Datastores touched

melody-authDatabase · 1 repos

For agents

$ claude mcp add melody-auth \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact

Ask about this repo answers extend the page