{"id":20215585,"url":"https://github.com/casdoor/nextjs-auth","last_synced_at":"2025-04-10T14:39:16.097Z","repository":{"id":218382704,"uuid":"743479924","full_name":"casdoor/nextjs-auth","owner":"casdoor","description":"Next.js Authentication based on Casdoor, live demo: https://nextjs-auth.casdoor.org","archived":false,"fork":false,"pushed_at":"2024-07-10T14:53:00.000Z","size":277,"stargazers_count":12,"open_issues_count":0,"forks_count":4,"subscribers_count":5,"default_branch":"master","last_synced_at":"2025-03-24T13:11:09.634Z","etag":null,"topics":["auth","authentication","cas","casbin","casdoor","example","iam","middleware","next","nextjs","nextjs13","oauth","oidc","plugin","react","reactjs","saml","sso","ssr"],"latest_commit_sha":null,"homepage":"https://nextjs.org","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/casdoor.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"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-01-15T10:27:46.000Z","updated_at":"2025-01-28T03:25:23.000Z","dependencies_parsed_at":"2024-03-22T18:40:20.997Z","dependency_job_id":"438626d8-350e-4627-90c6-8e3b6fc1e95d","html_url":"https://github.com/casdoor/nextjs-auth","commit_stats":null,"previous_names":["casdoor/nextjs-auth"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/casdoor%2Fnextjs-auth","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/casdoor%2Fnextjs-auth/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/casdoor%2Fnextjs-auth/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/casdoor%2Fnextjs-auth/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/casdoor","download_url":"https://codeload.github.com/casdoor/nextjs-auth/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248233987,"owners_count":21069493,"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":["auth","authentication","cas","casbin","casdoor","example","iam","middleware","next","nextjs","nextjs13","oauth","oidc","plugin","react","reactjs","saml","sso","ssr"],"created_at":"2024-11-14T06:23:23.321Z","updated_at":"2025-04-10T14:39:16.061Z","avatar_url":"https://github.com/casdoor.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"nextjs-auth\n=======\n\nA Next.js example for Casdoor SSO.\n\nLive demo: https://nextjs-auth.casdoor.org\n\n## Demo video\n\n![Login](./img/demo.gif)\n\n## Configuration\n\nThe default [config.js](app/conf.js) points to the Casdoor demo site. Change it to your own Casdoor: \n\n```js\nconst sdkConfig = {\n  serverUrl: \"https://door.casdoor.com\",\n  clientId: \"294b09fbc17f95daf2fe\",\n  clientSecret: \"dd8982f7046ccba1bbd7851d5c1ece4e52bf039d\",\n  organizationName: \"casbin\",\n  appName: \"app-vue-python-example\",\n  redirectPath: \"/callback\",\n}\n\nexport default sdkConfig;\n```\n\n## Getting started\n\nrun the development server:\n\n```bash\nyarn dev\n```\n\nOpen [http://localhost:3000](http://localhost:3000) with your browser to see the result.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcasdoor%2Fnextjs-auth","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcasdoor%2Fnextjs-auth","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcasdoor%2Fnextjs-auth/lists"}