{"id":13472590,"url":"https://github.com/kucherenko/strapi-plugin-passwordless","last_synced_at":"2025-04-09T19:20:51.815Z","repository":{"id":41176030,"uuid":"444126253","full_name":"kucherenko/strapi-plugin-passwordless","owner":"kucherenko","description":"A plugin for Strapi Headless CMS that provides ability to sign-in/sign-up to an application by link had sent to email.","archived":false,"fork":false,"pushed_at":"2024-07-17T23:04:30.000Z","size":472,"stargazers_count":81,"open_issues_count":16,"forks_count":26,"subscribers_count":5,"default_branch":"main","last_synced_at":"2025-04-06T08:42:47.913Z","etag":null,"topics":["authentication","passwordless","passwordless-authentication","plugin","strapi","strapi-plugin"],"latest_commit_sha":null,"homepage":"","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/kucherenko.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":"2022-01-03T16:24:42.000Z","updated_at":"2025-04-04T12:59:55.000Z","dependencies_parsed_at":"2024-01-16T07:24:00.114Z","dependency_job_id":"5876da3c-5e55-4dcc-a4ee-889378222ef5","html_url":"https://github.com/kucherenko/strapi-plugin-passwordless","commit_stats":{"total_commits":69,"total_committers":4,"mean_commits":17.25,"dds":"0.17391304347826086","last_synced_commit":"24279bf69c809c0861d56e5e6e866aaa4401e9d5"},"previous_names":[],"tags_count":25,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kucherenko%2Fstrapi-plugin-passwordless","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kucherenko%2Fstrapi-plugin-passwordless/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kucherenko%2Fstrapi-plugin-passwordless/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kucherenko%2Fstrapi-plugin-passwordless/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/kucherenko","download_url":"https://codeload.github.com/kucherenko/strapi-plugin-passwordless/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248095055,"owners_count":21046779,"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":["authentication","passwordless","passwordless-authentication","plugin","strapi","strapi-plugin"],"created_at":"2024-07-31T16:00:56.020Z","updated_at":"2025-04-09T19:20:51.788Z","avatar_url":"https://github.com/kucherenko.png","language":"JavaScript","funding_links":[],"categories":["Strapi v3"],"sub_categories":["Plugin \u0026 Providers - v3"],"readme":"![stand with Ukraine](https://badgen.net/badge/support/UKRAINE/?color=0057B8\u0026labelColor=FFD700)\n\n\u003cp\u003e\n  \u003cimg width=\"80\" src=\"https://github.com/kucherenko/strapi-plugin-passwordless/blob/main/logo.png?raw=true\"\u003e\n\u003c/p\u003e\n\n# Strapi PasswordLess Plugin \n\n[![The plugin verified by Strapi](./verified.svg) The plugin verified by Strapi](https://market.strapi.io/plugins/strapi-plugin-passwordless) \n\nA plugin for [Strapi Headless CMS](https://github.com/strapi/strapi) that provides ability to sign-in/sign-up to an application by link had sent to email. \nA plugin works together with [Strapi User Permissions Plugin](https://github.com/strapi/strapi/tree/master/packages/plugins/users-permissions) and extends it functionality. \nFor working with emails a plugin use [Strapi Email Plugin](https://docs.strapi.io/developer-docs/latest/plugins/email.html).\n\n![Screenshot](https://github.com/kucherenko/strapi-plugin-passwordless/raw/main/screenshot-v4.png?raw=true)\n\n## ⏳ Installation\n\nInstall Strapi with this **Quickstart** command to create a Strapi project instantly:\n\n- (Use **yarn** to install the Strapi project (recommended). [Install yarn with these docs](https://yarnpkg.com/lang/en/docs/install/).)\n\n```bash\n# with yarn\nyarn create strapi-app my-project --quickstart\n\n# with npm/npx\nnpx create-strapi-app my-project --quickstart\n```\n\n\n- Configure the `Strapi email` plugin ( [official documentation](https://docs.strapi.io/developer-docs/latest/plugins/email.html) )\n\n- Add the `strapi-plugin-passwordless` plugin\n\n```bash\nyarn add strapi-plugin-passwordless@latest\n\n# or\n\nnpm i -S strapi-plugin-passwordless@latest\n```\n\n- After successful installation you've to build a fresh package that includes plugin UI. To archive that simply use:\n\n```bash\nyarn build \u0026\u0026 yarn develop\n\n# or\n\nnpm run build \u0026\u0026 npm run develop\n```\n\n- or just run Strapi in the development mode with `--watch-admin` option:\n\n```bash\nyarn develop --watch-admin\n\n#or\n\nnpm run develop --watch-admin\n```\n\nThe **Passwordless** plugin should appear in the **Plugins** section of Strapi sidebar after you run app again.\n\n## 🔌 Usage\n\n### REST API\n#### Email user with login link\n```\nPOST /api/passwordless/send-link\n{\n  \"email\": \"user@email.com\"\n  \"username\": \"John Bull\" // username for new user\n  \"context\": { \n    // context of authentification, optional parameter e.g. \"currentUrl\": \"...my page...\"\n    ...\n  }  \n}\n```\n\nSend mail to user by username\n```\nPOST /api/passwordless/send-link \n{\n  \"username\": \"John Bull\"\n}\n```\n\n#### Login with token\n```\nGET /api/passwordless/login?loginToken={tokenFromEmail}\n```\nResponse:\n```\n{\n  \"jwt\":  \"...jwt auth token...\"\n  \"user\": {\n    ...strapi user...\n  },\n  \"context\": {\n    ... context, provided to sendlink, e.g. currentPage, sessionId etc.\n  }\n}\n```\n\n### GraphQL API\n\nWIP\n\n## 🙌 Versions \n\n- `strapi-plugin-passwordless@4.x` - version for strapi v4\n- `strapi-plugin-passwordless@3.x` - version for strapi v3 ([dev branch](https://github.com/kucherenko/strapi-plugin-passwordless/tree/v3)) \n\n\n## 🤝 Contributing\n\nFeel free to fork and make a Pull Request to this plugin project. All the input is warmly welcome!\n\n## ⭐️ Show your support\n\nGive a star if this project helped you.\n\n## License\n\n[MIT License](LICENSE) Copyright (c) [Andrey Kucherenko](https://github.com/kucherenko).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkucherenko%2Fstrapi-plugin-passwordless","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkucherenko%2Fstrapi-plugin-passwordless","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkucherenko%2Fstrapi-plugin-passwordless/lists"}