{"id":13406435,"url":"https://github.com/nextauthjs/next-auth","last_synced_at":"2026-04-14T20:03:50.138Z","repository":{"id":36978895,"uuid":"119162419","full_name":"nextauthjs/next-auth","owner":"nextauthjs","description":"Authentication for the Web.","archived":false,"fork":false,"pushed_at":"2026-04-12T18:21:33.000Z","size":69641,"stargazers_count":28175,"open_issues_count":572,"forks_count":4044,"subscribers_count":111,"default_branch":"main","last_synced_at":"2026-04-12T20:15:43.128Z","etag":null,"topics":["auth","authentication","csrf","jwt","nextauth","nextjs","nodejs","nuxt","nuxt-auth","oauth","oauth2","oidc","react","remix-auth","solid-auth","solidjs","sveltekit","web"],"latest_commit_sha":null,"homepage":"https://authjs.dev","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"isc","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/nextauthjs.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":".github/CODEOWNERS","security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null},"funding":{"open_collective":"nextauth","github":["balazsorban44","ThangHuuVu"]}},"created_at":"2018-01-27T12:28:16.000Z","updated_at":"2026-04-12T18:17:54.000Z","dependencies_parsed_at":"2023-10-02T12:24:06.763Z","dependency_job_id":"2b543a35-95e5-432b-95f2-eb7fe90950f0","html_url":"https://github.com/nextauthjs/next-auth","commit_stats":{"total_commits":3018,"total_committers":688,"mean_commits":4.386627906976744,"dds":0.6491053677932406,"last_synced_commit":"d72bae392cd298b10ede00c6bd11d2950419d834"},"previous_names":["iaincollins/next-auth"],"tags_count":1828,"template":false,"template_full_name":null,"purl":"pkg:github/nextauthjs/next-auth","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nextauthjs%2Fnext-auth","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nextauthjs%2Fnext-auth/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nextauthjs%2Fnext-auth/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nextauthjs%2Fnext-auth/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/nextauthjs","download_url":"https://codeload.github.com/nextauthjs/next-auth/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nextauthjs%2Fnext-auth/sbom","scorecard":{"id":477192,"data":{"date":"2025-08-11","repo":{"name":"github.com/nextauthjs/next-auth","commit":"39dd3b92de194c1a835f2d87631f4deb9d9fdf65"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":5.7,"checks":[{"name":"Dangerous-Workflow","score":10,"reason":"no dangerous workflow patterns detected","details":null,"documentation":{"short":"Determines if the project's GitHub Action workflows avoid dangerous patterns.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#dangerous-workflow"}},{"name":"Maintained","score":10,"reason":"21 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 10","details":null,"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#maintained"}},{"name":"Code-Review","score":6,"reason":"Found 20/30 approved changesets -- score normalized to 6","details":null,"documentation":{"short":"Determines if the project requires human code review before pull requests (aka merge requests) are merged.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#code-review"}},{"name":"Token-Permissions","score":0,"reason":"detected GitHub workflow tokens with excessive permissions","details":["Warn: topLevel 'checks' permission set to 'write': .github/workflows/broken-link-checker.yml:9","Warn: no topLevel permission defined: .github/workflows/codeql-analysis.yml:1","Warn: no topLevel permission defined: .github/workflows/pr-labeler.yml:1","Warn: no topLevel permission defined: .github/workflows/sync-examples.yml:1","Info: no jobLevel write permissions found"],"documentation":{"short":"Determines if the project's workflows follow the principle of least privilege.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#token-permissions"}},{"name":"Packaging","score":-1,"reason":"packaging workflow not detected","details":["Warn: no GitHub/GitLab publishing workflow detected."],"documentation":{"short":"Determines if the project is published as a package that others can easily download, install, easily update, and uninstall.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#packaging"}},{"name":"CII-Best-Practices","score":0,"reason":"no effort to earn an OpenSSF best practices badge detected","details":null,"documentation":{"short":"Determines if the project has an OpenSSF (formerly CII) Best Practices Badge.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#cii-best-practices"}},{"name":"Binary-Artifacts","score":10,"reason":"no binaries found in the repo","details":null,"documentation":{"short":"Determines if the project has generated executable (binary) artifacts in the source repository.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#binary-artifacts"}},{"name":"License","score":10,"reason":"license file detected","details":["Info: project has a license file: LICENSE:0","Info: FSF or OSI recognized license: ISC License: LICENSE:0"],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#license"}},{"name":"Fuzzing","score":0,"reason":"project is not fuzzed","details":["Warn: no fuzzer integrations found"],"documentation":{"short":"Determines if the project uses fuzzing.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#fuzzing"}},{"name":"Signed-Releases","score":-1,"reason":"no releases found","details":null,"documentation":{"short":"Determines if the project cryptographically signs release artifacts.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#signed-releases"}},{"name":"Branch-Protection","score":-1,"reason":"internal error: error during branchesHandler.setup: internal error: githubv4.Query: Resource not accessible by integration","details":null,"documentation":{"short":"Determines if the default and release branches are protected with GitHub's branch protection settings.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#branch-protection"}},{"name":"Security-Policy","score":10,"reason":"security policy file detected","details":["Info: security policy file detected: github.com/nextauthjs/.github/SECURITY.md:1","Info: Found linked content: github.com/nextauthjs/.github/SECURITY.md:1","Info: Found disclosure, vulnerability, and/or timelines in security policy: github.com/nextauthjs/.github/SECURITY.md:1","Info: Found text in security policy: github.com/nextauthjs/.github/SECURITY.md:1"],"documentation":{"short":"Determines if the project has published a security policy.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#security-policy"}},{"name":"Pinned-Dependencies","score":0,"reason":"dependency not pinned by hash detected -- score normalized to 0","details":["Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/broken-link-checker.yml:16: update your workflow using https://app.stepsecurity.io/secureworkflow/nextauthjs/next-auth/broken-link-checker.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/broken-link-checker.yml:17: update your workflow using https://app.stepsecurity.io/secureworkflow/nextauthjs/next-auth/broken-link-checker.yml/main?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/broken-link-checker.yml:19: update your workflow using https://app.stepsecurity.io/secureworkflow/nextauthjs/next-auth/broken-link-checker.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/codeql-analysis.yml:21: update your workflow using https://app.stepsecurity.io/secureworkflow/nextauthjs/next-auth/codeql-analysis.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/codeql-analysis.yml:23: update your workflow using https://app.stepsecurity.io/secureworkflow/nextauthjs/next-auth/codeql-analysis.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/codeql-analysis.yml:27: update your workflow using https://app.stepsecurity.io/secureworkflow/nextauthjs/next-auth/codeql-analysis.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/pr-labeler.yml:13: update your workflow using https://app.stepsecurity.io/secureworkflow/nextauthjs/next-auth/pr-labeler.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/release.yml:211: update your workflow using https://app.stepsecurity.io/secureworkflow/nextauthjs/next-auth/release.yml/main?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/release.yml:213: update your workflow using https://app.stepsecurity.io/secureworkflow/nextauthjs/next-auth/release.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/release.yml:215: update your workflow using https://app.stepsecurity.io/secureworkflow/nextauthjs/next-auth/release.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/release.yml:65: update your workflow using https://app.stepsecurity.io/secureworkflow/nextauthjs/next-auth/release.yml/main?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/release.yml:69: update your workflow using https://app.stepsecurity.io/secureworkflow/nextauthjs/next-auth/release.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/release.yml:71: update your workflow using https://app.stepsecurity.io/secureworkflow/nextauthjs/next-auth/release.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/release.yml:122: update your workflow using https://app.stepsecurity.io/secureworkflow/nextauthjs/next-auth/release.yml/main?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/release.yml:128: update your workflow using https://app.stepsecurity.io/secureworkflow/nextauthjs/next-auth/release.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/release.yml:143: update your workflow using https://app.stepsecurity.io/secureworkflow/nextauthjs/next-auth/release.yml/main?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/release.yml:149: update your workflow using https://app.stepsecurity.io/secureworkflow/nextauthjs/next-auth/release.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/release.yml:151: update your workflow using https://app.stepsecurity.io/secureworkflow/nextauthjs/next-auth/release.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/release.yml:172: update your workflow using https://app.stepsecurity.io/secureworkflow/nextauthjs/next-auth/release.yml/main?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/release.yml:174: update your workflow using https://app.stepsecurity.io/secureworkflow/nextauthjs/next-auth/release.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/release.yml:176: update your workflow using https://app.stepsecurity.io/secureworkflow/nextauthjs/next-auth/release.yml/main?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/release.yml:195: update your workflow using https://app.stepsecurity.io/secureworkflow/nextauthjs/next-auth/release.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/sync-examples.yml:12: update your workflow using https://app.stepsecurity.io/secureworkflow/nextauthjs/next-auth/sync-examples.yml/main?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/sync-examples.yml:14: update your workflow using https://app.stepsecurity.io/secureworkflow/nextauthjs/next-auth/sync-examples.yml/main?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/triage.yml:19: update your workflow using https://app.stepsecurity.io/secureworkflow/nextauthjs/next-auth/triage.yml/main?enable=pin","Warn: containerImage not pinned by hash: apps/examples/nextjs/Dockerfile:2","Warn: containerImage not pinned by hash: apps/examples/nextjs/Dockerfile:5","Warn: containerImage not pinned by hash: apps/examples/nextjs/Dockerfile:15","Warn: containerImage not pinned by hash: apps/examples/nextjs/Dockerfile:28","Info:   0 out of  16 GitHub-owned GitHubAction dependencies pinned","Info:   0 out of   9 third-party GitHubAction dependencies pinned","Info:   0 out of   4 containerImage dependencies pinned"],"documentation":{"short":"Determines if the project has declared and pinned the dependencies of its build process.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#pinned-dependencies"}},{"name":"SAST","score":9,"reason":"SAST tool detected but not run on all commits","details":["Info: SAST configuration detected: CodeQL","Warn: 19 commits out of 21 are checked with a SAST tool"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}},{"name":"Vulnerabilities","score":0,"reason":"82 existing vulnerabilities detected","details":["Warn: Project is vulnerable to: GHSA-rmvr-2pp2-xj38","Warn: Project is vulnerable to: GHSA-xx4v-prfh-6cgc","Warn: Project is vulnerable to: GHSA-v6h2-p8h4-qcjw","Warn: Project is vulnerable to: GHSA-grv7-fg5c-xmjg","Warn: Project is vulnerable to: GHSA-3xgq-45jj-v275","Warn: Project is vulnerable to: GHSA-67mh-4wv8-2f99","Warn: Project is vulnerable to: GHSA-fjxv-7rqg-78g4","Warn: Project is vulnerable to: GHSA-952p-6rrq-rcjv","Warn: Project is vulnerable to: GHSA-p8p7-x288-28g6","Warn: Project is vulnerable to: GHSA-6g33-8w2q-4hxv","Warn: Project is vulnerable to: GHSA-gcx4-mw62-g8wm","Warn: Project is vulnerable to: GHSA-c2qf-rxjj-qqgw","Warn: Project is vulnerable to: GHSA-52f5-9888-hmc6","Warn: Project is vulnerable to: GHSA-72xf-g2v4-qvf3","Warn: Project is vulnerable to: GHSA-3787-6prv-h9w3","Warn: Project is vulnerable to: GHSA-9qxr-qj54-h672","Warn: Project is vulnerable to: GHSA-m4v8-wqvr-p9f7","Warn: Project is vulnerable to: GHSA-c76h-2ccp-4975","Warn: Project is vulnerable to: GHSA-cxrh-j4jr-qwg3","Warn: Project is vulnerable to: GHSA-mgfv-m47x-4wqp","Warn: Project is vulnerable to: GHSA-76c9-3jph-rj3q","Warn: Project is vulnerable to: GHSA-968p-4wvh-cqc8","Warn: Project is vulnerable to: GHSA-pxg6-pf52-xh8x","Warn: Project is vulnerable to: GHSA-mwcw-c2x4-8c55","Warn: Project is vulnerable to: GHSA-g77x-44xx-532m","Warn: Project is vulnerable to: GHSA-gp8f-8m3g-qvj9","Warn: Project is vulnerable to: GHSA-7gfc-8cq8-jh5f","Warn: Project is vulnerable to: GHSA-7m27-7ghc-44w9","Warn: Project is vulnerable to: GHSA-qpjv-v59x-3qc4","Warn: Project is vulnerable to: GHSA-f82v-jwr5-mffw","Warn: Project is vulnerable to: GHSA-3h52-269p-cp9r","Warn: Project is vulnerable to: GHSA-f7f6-9jq7-3rqj","Warn: Project is vulnerable to: GHSA-2p57-rm9w-gvfp","Warn: Project is vulnerable to: GHSA-9wv6-86v2-598j","Warn: Project is vulnerable to: GHSA-8cj5-5rvv-wf4v","Warn: Project is vulnerable to: GHSA-cchq-frgv-rjh5","Warn: Project is vulnerable to: GHSA-g644-9gfx-q4q4","Warn: Project is vulnerable to: GHSA-3h5v-q93c-6h6q","Warn: Project is vulnerable to: GHSA-wf5p-g6vw-rhxx","Warn: Project is vulnerable to: GHSA-jr5f-v2jv-69x6","Warn: Project is vulnerable to: GHSA-3qxh-p7jc-5xh6","Warn: Project is vulnerable to: GHSA-6q87-84jw-cjhp","Warn: Project is vulnerable to: GHSA-vg6x-rcgg-rjx6","Warn: Project is vulnerable to: GHSA-x574-m823-4x7w","Warn: Project is vulnerable to: GHSA-4r4m-qw57-chr8","Warn: Project is vulnerable to: GHSA-xcj6-pq6g-qj4x","Warn: Project is vulnerable to: GHSA-356w-63v5-8wf4","Warn: Project is vulnerable to: GHSA-859w-5945-r5v3","Warn: Project is vulnerable to: GHSA-m5vv-6r4h-3vj9","Warn: Project is vulnerable to: GHSA-qr9h-j6xg-2j72","Warn: Project is vulnerable to: GHSA-8r88-6cj9-9fh5","Warn: Project is vulnerable to: GHSA-mh2x-fcqh-fmqv","Warn: Project is vulnerable to: GHSA-rjjv-87mx-6x3h","Warn: Project is vulnerable to: GHSA-fg4m-w35q-vfg2","Warn: Project is vulnerable to: GHSA-vhxf-7vqr-mrjg","Warn: Project is vulnerable to: GHSA-f6v4-cf5j-vf3w","Warn: Project is vulnerable to: GHSA-ghr5-ch3p-vcr6","Warn: Project is vulnerable to: GHSA-cxjh-pqwp-8mfp","Warn: Project is vulnerable to: GHSA-75v8-2h7p-7m2m","Warn: Project is vulnerable to: GHSA-78xj-cgh5-2h22","Warn: Project is vulnerable to: GHSA-8cf7-32gw-wr33","Warn: Project is vulnerable to: GHSA-hjrf-2m68-5959","Warn: Project is vulnerable to: GHSA-qwph-4952-7xr6","Warn: Project is vulnerable to: GHSA-3wc5-fcw2-2329","Warn: Project is vulnerable to: GHSA-64fm-8hw2-v72w","Warn: Project is vulnerable to: GHSA-cvr6-37gx-v8wc","Warn: Project is vulnerable to: GHSA-f98w-7cxr-ff2h","Warn: Project is vulnerable to: GHSA-cg87-wmx4-v546","Warn: Project is vulnerable to: GHSA-pmh2-wpjm-fj45","Warn: Project is vulnerable to: GHSA-r2fc-ccr8-96c4","Warn: Project is vulnerable to: GHSA-9h6g-pr28-7cqp","Warn: Project is vulnerable to: GHSA-rhx6-c78j-4q9w","Warn: Project is vulnerable to: GHSA-7fh5-64p2-3v2j","Warn: Project is vulnerable to: GHSA-x7hr-w5r2-h6wg","Warn: Project is vulnerable to: GHSA-3965-hpx2-q597","Warn: Project is vulnerable to: GHSA-m6fv-jmcg-4jfg","Warn: Project is vulnerable to: GHSA-f5x3-32g6-xq36","Warn: Project is vulnerable to: GHSA-pq67-2wwv-3xjx","Warn: Project is vulnerable to: GHSA-64vr-g452-qvp3","Warn: Project is vulnerable to: GHSA-9cwx-2883-4wfx","Warn: Project is vulnerable to: GHSA-9crc-q9x8-hgqq","Warn: Project is vulnerable to: GHSA-g3ch-rx76-35fx"],"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}}]},"last_synced_at":"2025-08-19T15:38:32.428Z","repository_id":36978895,"created_at":"2025-08-19T15:38:32.428Z","updated_at":"2025-08-19T15:38:32.428Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31812978,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-14T18:05:02.291Z","status":"ssl_error","status_checked_at":"2026-04-14T18:05:01.765Z","response_time":153,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["auth","authentication","csrf","jwt","nextauth","nextjs","nodejs","nuxt","nuxt-auth","oauth","oauth2","oidc","react","remix-auth","solid-auth","solidjs","sveltekit","web"],"created_at":"2024-07-30T19:02:30.256Z","updated_at":"2026-04-14T20:03:50.130Z","avatar_url":"https://github.com/nextauthjs.png","language":"TypeScript","readme":"\u003cp align=\"center\"\u003e\n  \u003cbr/\u003e\n  \u003ca href=\"https://authjs.dev\" target=\"_blank\"\u003e\u003cimg width=\"96px\" src=\"https://authjs.dev/img/logo-sm.png\" /\u003e\u003c/a\u003e\n  \u003ch3 align=\"center\"\u003eAuth.js\u003c/h3\u003e\n  \u003cp align=\"center\"\u003eAuthentication for the Web.\u003c/p\u003e\n  \u003cp align=\"center\"\u003eOpen Source. Full Stack. Own Your Data.\u003c/p\u003e\n  \u003cp align=\"center\" style=\"align: center;\"\u003e\n    \u003ca href=\"https://x.com/authjs\" \u003e\u003cimg src=\"https://shields.io/badge/Follow @authjs-000?logo=x\u0026style=flat-square\" alt=\"X (formerly known Twitter)\" /\u003e\u003c/a\u003e\n    \u003ca href=\"https://github.com/nextauthjs/next-auth/releases\"\u003e\u003cimg src=\"https://img.shields.io/npm/v/next-auth/latest?style=flat-square\u0026label=latest%20stable\" alt=\"NPM next-auth@latest release\" /\u003e\u003c/a\u003e \n    \u003c!-- TODO: Should count `@auth/core` when NextAuth.js v5 is released as stable. --\u003e\n    \u003ca href=\"https://www.npmtrends.com/next-auth\"\u003e\u003cimg src=\"https://img.shields.io/npm/dm/next-auth?style=flat-square\u0026color=cyan\" alt=\"Downloads\" /\u003e\u003c/a\u003e\n    \u003ca href=\"https://github.com/nextauthjs/next-auth/stargazers\"\u003e\u003cimg src=\"https://img.shields.io/github/stars/nextauthjs/next-auth?style=flat-square\u0026color=orange\" alt=\"GitHub Stars\" /\u003e\u003c/a\u003e\n    \u003c!-- \u003ca href=\"https://codecov.io/gh/nextauthjs/next-auth\" \u003e\u003cimg alt=\"Codecov\" src=\"https://img.shields.io/codecov/c/github/nextauthjs/next-auth?token=o2KN5GrPsY\u0026style=flat-square\u0026logo=codecov\"\u003e\u003c/a\u003e --\u003e\n    \u003cimg src=\"https://shields.io/badge/TypeScript-3178C6?logo=TypeScript\u0026logoColor=fff\u0026style=flat-square\" alt=\"TypeScript\" /\u003e\n  \u003c/p\u003e\n  \u003cp align=\"center\"\u003e\n    Auth.js is a set of open-source packages that are built on standard Web APIs for authentication in modern applications with any framework on any platform in any JS runtime.\n  \u003c/p\u003e\n\u003c/p\u003e\n\n\u003e Auth js is now part of [Better Auth](https://better-auth.com/blog/authjs-joins-better-auth). We recommend new projects to start with Better Auth unless there are some very specific feature gaps (most notably stateless session management without a database).\n\n## Features\n\n### Flexible and easy to use\n\n- Designed to work with any OAuth service, it supports 2.0+, OIDC\n- Built-in support for [many popular sign-in services](https://github.com/nextauthjs/next-auth/tree/main/packages/core/src/providers)\n- Email/Passwordless authentication\n- Passkeys/WebAuthn support\n- Bring Your Database - or none! - stateless authentication with any backend (Active Directory, LDAP, etc.)\n- Runtime-agnostic, runs anywhere! (Docker, Node.js, Serverless, etc.)\n\n### Own your data\n\nAuth.js can be used with or without a database.\n\n- An open-source solution that allows you to keep control of your data\n- Built-in support for [MySQL, MariaDB, Postgres, Microsoft SQL Server, MongoDB, SQLite, GraphQL, etc.](https://adapters.authjs.dev)\n- Works great with databases from popular hosting providers\n\n### Secure by default\n\n- Promotes the use of passwordless sign-in mechanisms\n- Designed to be secure by default and encourage best practices for safeguarding user data\n- Uses Cross-Site Request Forgery (CSRF) Tokens on POST routes (sign in, sign out)\n- Default cookie policy aims for the most restrictive policy appropriate for each cookie\n- When JSON Web Tokens are used, they are encrypted by default (JWE) with A256CBC-HS512\n- Features tab/window syncing and session polling to support short-lived sessions\n- Attempts to implement the latest guidance published by [Open Web Application Security Project](https://owasp.org)\n\nAdvanced configuration allows you to define your routines to handle controlling what accounts are allowed to sign in, for encoding and decoding JSON Web Tokens and to set custom cookie security policies and session properties, so you can control who can sign in and how often sessions have to be re-validated.\n\n### TypeScript\n\nAuth.js libraries are written with type safety in mind. [Check out the docs](https://authjs.dev/getting-started/typescript) for more information.\n\n## Security\n\nIf you think you have found a vulnerability (or are not sure) in Auth.js or any of the related packages (i.e. Adapters), we ask you to read our [Security Policy](https://authjs.dev/security) to reach out responsibly. Please do not open Pull Requests/Issues/Discussions before consulting with us.\n\n## Acknowledgments\n\n[Auth.js is made possible thanks to all of its contributors.](https://authjs.dev/contributors)\n\n\u003ca href=\"https://github.com/nextauthjs/next-auth/graphs/contributors\"\u003e\n  \u003cimg width=\"500px\" src=\"https://contrib.rocks/image?repo=nextauthjs/next-auth\" /\u003e\n\u003c/a\u003e\n\u003cdiv\u003e\n\u003ca href=\"https://vercel.com?utm_source=nextauthjs\u0026utm_campaign=oss\"\u003e\u003c/a\u003e\n\u003c/div\u003e\n\n## Contributing\n\nWe're open to all community contributions! If you'd like to contribute in any way, please first read\nour [Contributing Guide](https://github.com/nextauthjs/.github/blob/main/CONTRIBUTING.md).\n\n## License\n\nISC\n","funding_links":["https://opencollective.com/nextauth","https://github.com/sponsors/balazsorban44","https://github.com/sponsors/ThangHuuVu"],"categories":["TypeScript","JavaScript","Other Notable Libraries","前端开发框架及项目","miscellaneous","React 相关","Relying Parties (RP) Libraries","🧰 工具列表","web","Community Integrations","Tools","Uncategorized","Authentication"],"sub_categories":["其他_文本生成、文本对话","JavaScript","认证与授权","Authentication \u0026 Security","Uncategorized"],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnextauthjs%2Fnext-auth","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnextauthjs%2Fnext-auth","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnextauthjs%2Fnext-auth/lists"}