{"id":30344411,"url":"https://github.com/nuxt-modules/kinde","last_synced_at":"2025-08-18T12:39:24.444Z","repository":{"id":200789054,"uuid":"688048999","full_name":"nuxt-modules/kinde","owner":"nuxt-modules","description":"Kinde integration for Nuxt","archived":false,"fork":false,"pushed_at":"2025-08-16T22:36:55.000Z","size":2590,"stargazers_count":84,"open_issues_count":13,"forks_count":9,"subscribers_count":5,"default_branch":"main","last_synced_at":"2025-08-17T00:18:21.754Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/nuxt-modules.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":".github/FUNDING.yml","license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":"CODEOWNERS","security":"SECURITY.md","support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null},"funding":{"github":["danielroe"]}},"created_at":"2023-09-06T14:42:28.000Z","updated_at":"2025-08-11T16:19:20.000Z","dependencies_parsed_at":"2023-11-24T10:29:21.966Z","dependency_job_id":"59fdade0-4f29-498d-8ea1-2f9dcda68789","html_url":"https://github.com/nuxt-modules/kinde","commit_stats":null,"previous_names":["danielroe/kinde-module","nuxt-modules/kinde"],"tags_count":12,"template":false,"template_full_name":null,"purl":"pkg:github/nuxt-modules/kinde","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nuxt-modules%2Fkinde","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nuxt-modules%2Fkinde/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nuxt-modules%2Fkinde/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nuxt-modules%2Fkinde/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/nuxt-modules","download_url":"https://codeload.github.com/nuxt-modules/kinde/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nuxt-modules%2Fkinde/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":270791276,"owners_count":24645782,"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","status":"online","status_checked_at":"2025-08-16T02:00:11.002Z","response_time":91,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":[],"created_at":"2025-08-18T12:39:20.640Z","updated_at":"2025-08-18T12:39:24.433Z","avatar_url":"https://github.com/nuxt-modules.png","language":"TypeScript","funding_links":["https://github.com/sponsors/danielroe"],"categories":[],"sub_categories":[],"readme":"![nuxt-kinde-social-card](https://github.com/nuxt-modules/kinde/assets/904724/b738708c-3d5c-4d72-b233-22488678cb6e)\n\n# Nuxt Kinde\n\n[![npm version][npm-version-src]][npm-version-href]\n[![npm downloads][npm-downloads-src]][npm-downloads-href]\n[![License][license-src]][license-href]\n[![Nuxt][nuxt-src]][nuxt-href]\n\n[Kinde](https://kinde.com/) integration for [Nuxt](https://nuxt.com).\n\n- [✨ \u0026nbsp;Release Notes](/CHANGELOG.md)\n  \u003c!-- - [🏀 Online playground](https://stackblitz.com/github/nuxt-modules/kinde?file=playground%2Fapp.vue) --\u003e\n  \u003c!-- - [📖 \u0026nbsp;Documentation](https://example.com) --\u003e\n\n## Quick Setup\n\n1. Add `@nuxtjs/kinde` dependency to your project\n\n```bash\nnpx nuxi@latest module add kinde\n```\n\n2. Add `@nuxtjs/kinde` to the `modules` section of `nuxt.config.ts`\n\n```js\nexport default defineNuxtConfig({\n  modules: ['@nuxtjs/kinde'],\n  kinde: {\n    // This is true by default and adds 'auth-logged-in' and 'auth-logged-out'\n    // middleware to your Nuxt application.\n    // \n    // middleware: false,\n    //\n    // enable the debug `/api/health` endpoint\n    // debug: true,\n    // \n    // Set custom endpoints in case you use any of the default routes for other purposes\n    // endpoints: {\n    //   callback: '/api/callback',\n    //   login: '/api/login',\n    //   register: '/api/register',\n    //   health: '/api/health',\n    //   logout: '/api/logout'\n    // }\n  }\n})\n```\n\nAdd the following configuration to your `.env` file replacing the values in `\u003c \u003e` with your Kinde credentials.\n\n\u003e **NOTE:** The Nuxt Kinde module requires the back-end web API keys\n\n```bash\nNUXT_KINDE_AUDIENCE=\"https://\u003cyour_kinde_subdomain\u003e.kinde.com/api\" # if you want to use the Management API\nNUXT_KINDE_AUTH_DOMAIN=\"https://\u003cyour_kinde_subdomain\u003e.kinde.com\"\nNUXT_KINDE_CLIENT_ID=\"\u003cyour_kinde_client_id\u003e\"\nNUXT_KINDE_CLIENT_SECRET=\"\u003cyour_kinde_client_secret\u003e\"\nNUXT_KINDE_LOGOUT_REDIRECT_URL=\"http://localhost:3000\"\nNUXT_KINDE_REDIRECT_URL=\"http://localhost:3000/api/callback\"\nNUXT_KINDE_PASSWORD=\u003ca random password which will be used to encrypt the session cookie\u003e\nNUXT_KINDE_POST_LOGIN_REDIRECT_URL=\"http://localhost:3000/dashboard\"\n```\n\nYou can alternatively set any of these values in your `nuxt.config` file:\n\n```ts\nexport default defineNuxtConfig({\n  kinde: {\n    authDomain: 'https://\u003cyour_kinde_subdomain\u003e.kinde.com',\n    clientId: '\u003cyour_kinde_client_id\u003e',\n    // You probably don't want to set any of the following directly in your config\n    // as they either shouldn't be committed to version control, or are dependent\n    // on your environment.\n    // \n    // clientSecret: '\u003cyour_kinde_client_secret\u003e',\n    // redirectURL: 'http://localhost:3000/api/callback',\n    // logoutRedirectURL: 'http://localhost:3000',\n    // postLoginRedirectURL: 'http://localhost:3000/dashboard',\n  }\n})\n```\n\nThat's it! You can now use Nuxt Kinde in your Nuxt app ✨\n\n## Composables\n\n### useAuth\n\nThis returns the current auth state, with the following properties.\n\n#### loggedIn\n\nA boolean that indicates if the user is logged in or not.\n\n#### user\n\nThe current logged in user state, or null if the user is not logged in.\n\n### useKindeClient\n\n**Server only**. This returns a Kinde client; see [Kinde SDK Documentation](https://kinde.com/docs/developer-tools/typescript-sdk/) for more details.\n\n## Development\n\n```bash\n# Install dependencies\nnpm install\n\n# Generate type stubs\nnpm run dev:prepare\n\n# Develop with the playground\nnpm run dev\n\n# Build the playground\nnpm run dev:build\n\n# Run ESLint\nnpm run lint\n\n# Run Vitest\nnpm run test\nnpm run test:watch\n\n# Release new version\nnpm run release\n```\n\n\u003c!-- Badges --\u003e\n\n[npm-version-src]: https://img.shields.io/npm/v/@nuxtjs/kinde/latest.svg?style=flat\u0026colorA=18181B\u0026colorB=28CF8D\n[npm-version-href]: https://npmjs.com/package/@nuxtjs/kinde\n[npm-downloads-src]: https://img.shields.io/npm/dm/@nuxtjs/kinde.svg?style=flat\u0026colorA=18181B\u0026colorB=28CF8D\n[npm-downloads-href]: https://npm.chart.dev/@nuxtjs/kinde\n[license-src]: https://img.shields.io/npm/l/@nuxtjs/kinde.svg?style=flat\u0026colorA=18181B\u0026colorB=28CF8D\n[license-href]: https://npmjs.com/package/@nuxtjs/kinde\n[nuxt-src]: https://img.shields.io/badge/Nuxt-18181B?logo=nuxt.js\n[nuxt-href]: https://nuxt.com\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnuxt-modules%2Fkinde","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnuxt-modules%2Fkinde","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnuxt-modules%2Fkinde/lists"}