{"id":28261977,"url":"https://github.com/maxi-schaefer/nextauth-example","last_synced_at":"2025-07-31T11:12:31.994Z","repository":{"id":217931569,"uuid":"745143727","full_name":"maxi-schaefer/NextAuth-Example","owner":"maxi-schaefer","description":"This is a simple example on how to use custom credentials on next-auth. I coded a custom login and registration form with the shadcn ui","archived":false,"fork":false,"pushed_at":"2024-01-18T18:42:35.000Z","size":145,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-06-16T01:40:30.414Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"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/maxi-schaefer.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}},"created_at":"2024-01-18T18:18:23.000Z","updated_at":"2024-09-11T01:47:12.000Z","dependencies_parsed_at":"2024-01-18T20:21:17.346Z","dependency_job_id":null,"html_url":"https://github.com/maxi-schaefer/NextAuth-Example","commit_stats":null,"previous_names":["maxi-schaefer/nextauth-example"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/maxi-schaefer/NextAuth-Example","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/maxi-schaefer%2FNextAuth-Example","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/maxi-schaefer%2FNextAuth-Example/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/maxi-schaefer%2FNextAuth-Example/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/maxi-schaefer%2FNextAuth-Example/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/maxi-schaefer","download_url":"https://codeload.github.com/maxi-schaefer/NextAuth-Example/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/maxi-schaefer%2FNextAuth-Example/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":268027635,"owners_count":24183670,"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-07-31T02:00:08.723Z","response_time":66,"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-05-20T06:12:03.062Z","updated_at":"2025-07-31T11:12:31.986Z","avatar_url":"https://github.com/maxi-schaefer.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# NextAuth-Example\nThis is a simple example on how to use custom credentials on next-auth. I coded a custom login and registration form with the shadcn ui\n\n### What to do?\n\n1. Start with cloning this repository\n```bash\ngit clone https://github.com/maxi-schaefer/NextAuth-Example\n```\n\n2. Install the needed dependencies\n```bash\nnpm install\n```\n\n3. Change your **DATABASE_URL** and **NEXTAUTH_SECRET** in [.env](./.env)\n```python\nDATABASE_URL=\"POSTGRESQL_LINK\"\n\n# Next Auth variables\nNEXTAUTH_SECRET = \"SOME_RANDOM_STRING\"\n```\n\n4. Start your development server\n```bash\nnpm run dev\n```\n\n### Register\n![](./register.png)\n\n### Login\n![](./login.png)","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmaxi-schaefer%2Fnextauth-example","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmaxi-schaefer%2Fnextauth-example","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmaxi-schaefer%2Fnextauth-example/lists"}