{"id":18926788,"url":"https://github.com/ladjs/passport","last_synced_at":"2025-10-16T16:54:12.082Z","repository":{"id":26896439,"uuid":"111615387","full_name":"ladjs/passport","owner":"ladjs","description":"Passport for Lad","archived":false,"fork":false,"pushed_at":"2024-04-23T11:21:53.000Z","size":441,"stargazers_count":7,"open_issues_count":3,"forks_count":2,"subscribers_count":7,"default_branch":"master","last_synced_at":"2025-06-03T08:45:04.693Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://lad.js.org","language":"JavaScript","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/ladjs.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":"2017-11-22T00:03:06.000Z","updated_at":"2024-05-19T11:52:54.000Z","dependencies_parsed_at":"2024-06-19T22:46:43.190Z","dependency_job_id":"2c48d389-58f1-43f4-a127-d73b8d26d303","html_url":"https://github.com/ladjs/passport","commit_stats":{"total_commits":57,"total_committers":6,"mean_commits":9.5,"dds":"0.49122807017543857","last_synced_commit":"330387294b4fff8a6429ad6bad086c73b7fcb326"},"previous_names":["ladjs/auth"],"tags_count":22,"template":false,"template_full_name":null,"purl":"pkg:github/ladjs/passport","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ladjs%2Fpassport","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ladjs%2Fpassport/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ladjs%2Fpassport/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ladjs%2Fpassport/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ladjs","download_url":"https://codeload.github.com/ladjs/passport/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ladjs%2Fpassport/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":260424571,"owners_count":23007035,"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":[],"created_at":"2024-11-08T11:17:11.327Z","updated_at":"2025-10-16T16:54:11.931Z","avatar_url":"https://github.com/ladjs.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# @ladjs/passport\n\n[![build status](https://github.com/ladjs/passport/actions/workflows/ci.yml/badge.svg)](https://github.com/ladjs/passport/actions/workflows/ci.yml)\n[![code style](https://img.shields.io/badge/code_style-XO-5ed9c7.svg)](https://github.com/sindresorhus/xo)\n[![styled with prettier](https://img.shields.io/badge/styled_with-prettier-ff69b4.svg)](https://github.com/prettier/prettier)\n[![made with lass](https://img.shields.io/badge/made_with-lass-95CC28.svg)](https://lass.js.org)\n[![license](https://img.shields.io/github/license/ladjs/passport.svg)](LICENSE)\n\n\u003e Passport for Lad\n\n\n## Table of Contents\n\n* [Install](#install)\n* [Usage](#usage)\n* [Strategies](#strategies)\n* [Options](#options)\n* [Contributors](#contributors)\n* [License](#license)\n\n\n## Install\n\n[npm][]:\n\n```sh\nnpm install @ladjs/passport\n```\n\n\n## Usage\n\n```js\nconst Passport = require('@ladjs/passport');\nconst koa = require('koa');\nconst mongoose = require('mongoose');\nconst passportLocalMongoose = require('passport-local-mongoose');\n\nconst User = new mongoose.Schema();\nUser.plugin(passportLocalMongoose, {\n  // ...\n});\nconst Users = mongoose.model('User', UserSchema);\n\nconst passport = new Passport({}, Users);\n\nconst app = new Koa();\napp.use(passport.initialize());\napp.use(passport.session());\n```\n\n\n## Strategies\n\nCurrently supported strategies:\n\n* Local (email)\n* Apple (Sign in with Apple)\n* GitHub\n* Google\n* OTP\n\n\n## Options\n\nSee [index.js](index.js) for configuration defaults and environment flags.\n\nYou can customize the field names and phrases, see the `fields` and `phrases` objects in [index.js](index.js).\n\n\n## Contributors\n\n| Name             | Website                           |\n| ---------------- | --------------------------------- |\n| **Nick Baugh**   | \u003chttp://niftylettuce.com/\u003e        |\n| **Shaun Warman** | \u003chttps://shaunwarman.com/\u003e        |\n| **shadowgate15** | \u003chttps://github.com/shadowgate15\u003e |\n\n\n## License\n\n[MIT](LICENSE) © [Nick Baugh](http://niftylettuce.com/)\n\n\n##\n\n[npm]: https://www.npmjs.com/\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fladjs%2Fpassport","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fladjs%2Fpassport","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fladjs%2Fpassport/lists"}