{"id":25225236,"url":"https://github.com/ValueMelody/melody-auth","last_synced_at":"2025-10-26T00:31:08.450Z","repository":{"id":251276658,"uuid":"826480313","full_name":"ValueMelody/melody-auth","owner":"ValueMelody","description":"A turnkey OAuth \u0026 authentication system, designed for both Cloudflare Workers and Node.js","archived":false,"fork":false,"pushed_at":"2025-02-05T03:53:47.000Z","size":3984,"stargazers_count":85,"open_issues_count":1,"forks_count":4,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-02-05T07:08:03.096Z","etag":null,"topics":["authentication","cloudflare","cloudflare-d1","cloudflare-kv","cloudflare-workers","facebook-login","github-login","google-login","hono","identity-provider","mfa-authenticator","oauth2","oauth2-client","oauth2-server"],"latest_commit_sha":null,"homepage":"https://auth.valuemelody.com/","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ValueMelody.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":".github/CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-07-09T19:38:12.000Z","updated_at":"2025-02-05T06:05:25.000Z","dependencies_parsed_at":null,"dependency_job_id":"f70df293-2f6f-4289-97ef-fe6832ed147d","html_url":"https://github.com/ValueMelody/melody-auth","commit_stats":{"total_commits":187,"total_committers":1,"mean_commits":187.0,"dds":0.0,"last_synced_commit":"2cffc8969ef12e367cb0caa78e545107191f80d7"},"previous_names":["valuemelody/melody-auth"],"tags_count":14,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ValueMelody%2Fmelody-auth","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ValueMelody%2Fmelody-auth/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ValueMelody%2Fmelody-auth/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ValueMelody%2Fmelody-auth/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ValueMelody","download_url":"https://codeload.github.com/ValueMelody/melody-auth/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":238229952,"owners_count":19437724,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["authentication","cloudflare","cloudflare-d1","cloudflare-kv","cloudflare-workers","facebook-login","github-login","google-login","hono","identity-provider","mfa-authenticator","oauth2","oauth2-client","oauth2-server"],"created_at":"2025-02-11T04:01:04.474Z","updated_at":"2025-10-26T00:31:08.444Z","avatar_url":"https://github.com/ValueMelody.png","language":"TypeScript","funding_links":[],"categories":["Sonstiges","Security and Authentication"],"sub_categories":["Authentication"],"readme":"# Melody Auth\n\n**Melody Auth** is a user-friendly, robust solution for implementing and hosting your own OAuth and authentication system.\n- Deploy to **Cloudflare** using **Workers, D1, and KV** in just minutes — minimizing infrastructure and DevOps overhead.\n- **Self-Host** with **Node.js, Redis, and PostgreSQL** — giving you full control over your data and infrastructure.\n\n[![codecov](https://codecov.io/gh/ValueMelody/melody-auth/graph/badge.svg?token=AB3C1DCJJM)](https://codecov.io/gh/ValueMelody/melody-auth)\n\n**Disclaimer** All French translations provided in this project have been generated by AI. Please review them carefully for accuracy before use.\n\n## What's included?\n- **OAuth \u0026 Authentication Server** [[Setup]](https://auth.valuemelody.com/auth-server-setup.html) [[Config]](https://auth.valuemelody.com/auth-server-configuration.html)\n- **Server-to-Server REST API** for backend integrations [[Setup]](https://auth.valuemelody.com/s2s-api.html) [[Swagger]](https://auth-server.valuemelody.com/api/v1/swagger)\n- **Admin Panel** for managing resources (also serves as a full-stack implementation example) [[Setup]](https://auth.valuemelody.com/admin-panel-setup.html)\n- **React/Angular/Vue/Web SDK** to seamlessly integrate PKCE-based authentication into your frontend application.\n  - react-sdk [[Package]](https://www.npmjs.com/package/@melody-auth/react) [[Doc]](https://auth.valuemelody.com/react-sdk.html)\n  - angular-sdk [[Package]](https://www.npmjs.com/package/@melody-auth/angular) [[Doc]](https://auth.valuemelody.com/angular-sdk.html)\n  - vue-sdk [[Package]](https://www.npmjs.com/package/@melody-auth/vue) [[Doc]](https://auth.valuemelody.com/vue-sdk.html)\n  - web-sdk [[Package]](https://www.npmjs.com/package/@melody-auth/web) [[Doc]](https://auth.valuemelody.com/web-sdk.html)\n- **Embedded Auth API** for embedding authentication flows directly within your application. [[Setup]](https://auth.valuemelody.com/embedded-auth-api.html) [[Swagger]](https://auth-server.valuemelody.com/api/v1/embedded-swagger)\n\n## Auth Server Features Supported\n- \u003cb\u003eOAuth 2.0\u003c/b\u003e:\n  - Authorize\n  - Token Exchange\n  - Refresh Token Revoke\n  - App Consent\n  - App Scopes\n  - User Info Retrieval\n  - OpenID Configuration\n- \u003cb\u003e[Authorization](https://auth.valuemelody.com/authentication.html)\u003c/b\u003e:\n  - Sign-In\n  - Passwordless Sign-In\n  - Sign-Up\n  - Sign-Out\n  - Email Verification\n  - Password Reset\n  - [Role-Based Access Control](https://auth.valuemelody.com/rbac.html)\n  - [User Attribute](https://auth.valuemelody.com/user-attributes.html)\n  - Account Linking\n  - [Localization](https://auth.valuemelody.com/localization.html)\n- \u003cb\u003eExternal Identity Providers\u003c/b\u003e:\n  - [Social Sign-In](https://auth.valuemelody.com/social-sign-in-provider-setup.html)\n    - Google Sign-In\n    - Facebook Sign-In\n    - GitHub Sign-In\n    - Discord Sign-In\n    - Apple Sign-In\n  - [OIDC Auth Provider Sign-In](https://auth.valuemelody.com/oidc-sso-setup.html)\n  - [SAML SSO Sign-In (Node.js environment only)](https://auth.valuemelody.com/saml-sso-setup.html)\n- \u003cb\u003e[Multi-Factor Authentication](https://auth.valuemelody.com/mfa-setup.html)\u003c/b\u003e\n  - Email MFA\n  - OTP MFA\n  - SMS MFA\n  - MFA Self Enrollment\n  - Passkey Enrollment\n  - Recovery Code\n  - Remember Device for 30 days\n- \u003cb\u003e[Policy](https://auth.valuemelody.com/policies.html)\u003c/b\u003e\n  - sign_in_or_sign_up\n  - update_info\n  - change_password\n  - change_email\n  - reset_mfa\n  - manage_passkey\n  - manage_recovery_code\n  - [saml_sso_[idp_name]](https://auth.valuemelody.com/saml-sso-setup.html#_trigger-login-via-saml-sso-in-the-frontend)\n  - [oidc_sso_[provider_name]](https://auth.valuemelody.com/oidc-sso-setup.html#_trigger-oidc-redirects-from-your-frontend-via-policy)\n- \u003cb\u003eOrganization\u003c/b\u003e:\n  - [Branding config override](https://auth.valuemelody.com/branding.html#per-organization-branding)\n  - [Organization users](https://auth.valuemelody.com/organizations.html)\n  - [Organization groups](https://auth.valuemelody.com/org-groups.html)\n- \u003cb\u003e[Mailer Option](https://auth.valuemelody.com/email-provider-setup.html)\u003c/b\u003e\n  - SendGrid\n  - Mailgun\n  - Brevo\n  - Resend\n  - Postmark\n  - SMTP (Node.js environment only)\n- \u003cb\u003e[SMS Option](https://auth.valuemelody.com/sms-provider-setup.html)\u003c/b\u003e\n  - Twilio\n- \u003cb\u003eJWT Authentication\u003c/b\u003e\n  - [RSA256 based JWT Authentication](https://auth.valuemelody.com/jwt-and-jwks.html)\n  - [JWT Secret Rotate](https://auth.valuemelody.com/jwt-secret-rotate.html)\n- \u003cb\u003eBrute-force Protection\u003c/b\u003e:\n  - Log in attempts\n  - Password reset attempts\n  - OTP MFA attempts\n  - SMS MFA attempts\n  - Email MFA attempts\n  - Change Email attempts\n- \u003cb\u003eLogging\u003c/b\u003e:\n  - Logger Level\n  - Email Logs\n  - SMS Logs\n  - Sign-in Logs\n\n## Admin Panel \u0026 S2S REST API Features Supported\n- View Configurations\n- Manage Users\n  - [Impersonation](https://auth.valuemelody.com/impersonation.html)\n- Manage User Attributes\n- Manage Apps\n  - [App Level MFA Config](https://auth.valuemelody.com/mfa-setup.html#_app-level-mfa-configuration)\n  - [App Banner Config](https://auth.valuemelody.com/app-banners.html)\n- Manage Scopes\n- Manage Roles\n- Manage Organizations\n- Manage SAML SSO IDPs\n- [Manage Logs](https://auth.valuemelody.com/log-management.html)\n- [Admin Panel Access Control](https://auth.valuemelody.com/admin-panel-setup.html#custom-role-access-for-the-admin-panel)\n\n## Demo \u0026 Examples\n- [Demo Site](https://auth-demo.valuemelody.com)\n- [Vite React Example](https://github.com/ValueMelody/melody-auth-examples/tree/main/vite-react-demo)\n- [Angular Example](https://github.com/ValueMelody/melody-auth-examples/tree/main/angular-example)\n- [Vite Vue Example](https://github.com/ValueMelody/melody-auth-examples/tree/main/vite-vue-example)\n- [Next.js Full stack implementation Example](https://github.com/ValueMelody/melody-auth/tree/main/admin-panel)\n- [Next.js Auth.js Example](https://github.com/ValueMelody/melody-auth-examples/tree/main/next-auth-js-example)\n- [React Native Example](https://github.com/ValueMelody/melody-auth-examples/tree/main/react-native-example)\n- [Vanilla JavaScript Example](https://github.com/ValueMelody/melody-auth-examples/tree/main/vite-web-example)\n- [Embedded Auth API Example](https://github.com/ValueMelody/melody-auth-examples/tree/main/embedded-auth)\n\n## Screenshots\n[Authorization Screenshots](https://auth.valuemelody.com/screenshots.html#identity-pages-and-emails)  \n[Admin Panel Screenshots](https://auth.valuemelody.com/screenshots.html#admin-panel-pages)\n\n## License\n\nThis project is licensed under the MIT License. See the LICENSE file for details.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FValueMelody%2Fmelody-auth","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FValueMelody%2Fmelody-auth","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FValueMelody%2Fmelody-auth/lists"}