{"id":22253060,"url":"https://github.com/plusauth/plusauth-node-starter","last_synced_at":"2026-03-10T14:03:23.946Z","repository":{"id":40914985,"uuid":"271604191","full_name":"PlusAuth/plusauth-node-starter","owner":"PlusAuth","description":"Node.js starter project demonstrating OIDC authentication using Express and Passport.","archived":false,"fork":false,"pushed_at":"2024-05-02T03:55:27.000Z","size":160,"stargazers_count":3,"open_issues_count":3,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-03T14:13:51.660Z","etag":null,"topics":["example","express","js","nodejs","oidc","openidconnect","passport","plusauth"],"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/PlusAuth.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}},"created_at":"2020-06-11T17:13:34.000Z","updated_at":"2022-01-17T08:36:08.000Z","dependencies_parsed_at":"2023-01-19T06:31:02.307Z","dependency_job_id":null,"html_url":"https://github.com/PlusAuth/plusauth-node-starter","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/PlusAuth/plusauth-node-starter","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PlusAuth%2Fplusauth-node-starter","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PlusAuth%2Fplusauth-node-starter/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PlusAuth%2Fplusauth-node-starter/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PlusAuth%2Fplusauth-node-starter/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/PlusAuth","download_url":"https://codeload.github.com/PlusAuth/plusauth-node-starter/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PlusAuth%2Fplusauth-node-starter/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":30336085,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-10T12:41:07.687Z","status":"ssl_error","status_checked_at":"2026-03-10T12:41:06.728Z","response_time":106,"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":["example","express","js","nodejs","oidc","openidconnect","passport","plusauth"],"created_at":"2024-12-03T07:16:03.543Z","updated_at":"2026-03-10T14:03:23.919Z","avatar_url":"https://github.com/PlusAuth.png","language":"JavaScript","readme":"\u003cdiv align=\"center\"\u003e\n  \u003ca href=\"https://plusauth.com/\"\u003e\n    \u003cimg src=\"https://docs.plusauth.com/favicon.png\" alt=\"Logo\" width=\"144\"\u003e\n  \u003c/a\u003e\n\u003c/div\u003e\n\n\u003ch1 align=\"center\"\u003ePlusAuth NodeJS Starter Project\u003c/h1\u003e\n\n \u003cp align=\"center\"\u003e\n    Simple Node.js project demonstrates basic authentication flows with PlusAuth\n    \u003cbr /\u003e\n    \u003cbr /\u003e\n    \u003ca href=\"https://docs.plusauth.com/quickStart/web/nodejs/express\" target=\"_blank\"\u003e\u003cstrong\u003eExplore the PlusAuth NodeJS docs »\u003c/strong\u003e\u003c/a\u003e\n\u003c/p\u003e\n\n\u003cdetails\u003e\n  \u003csummary\u003eTable of Contents\u003c/summary\u003e\n    \u003cli\u003e\u003ca href=\"#about-the-project\"\u003eAbout The Project\u003c/a\u003e\u003c/li\u003e\n    \u003cli\u003e\u003ca href=\"#prerequisites\"\u003ePrerequisites\u003c/a\u003e\u003c/li\u003e\n    \u003cli\u003e\u003ca href=\"#getting-started\"\u003eGetting Started\u003c/a\u003e\u003c/li\u003e\n    \u003cli\u003e\u003ca href=\"#license\"\u003eLicense\u003c/a\u003e\u003c/li\u003e\n    \u003cli\u003e\u003ca href=\"#what-is-plusauth\"\u003eWhat is PlusAuth\u003c/a\u003e\u003c/li\u003e\n \u003c/ol\u003e\n\u003c/details\u003e\n\n---\n\n# About The Project\n\nIt is a simple Node.js project demonstrating basic authentication flows such as register, login, and logout. To keep things simple, Express.js is used as the server framework and `Passport.js` with OIDC Strategy for authentication.\n\n## Prerequisites\nBefore running the project, you must first follow these steps:\n\n1) Create a PlusAuth account and a tenant at [https://dashboard.plusauth.com](https://dashboard.plusauth.com)\n2) Navigate to the `Clients` tab and create a client of type `Regular Web Application`\n3) Go to the details page of the client that you've just created and set the following fields as:\n\n- **Redirect Uris:** http://localhost:3000/auth/callback\n- **Post Logout Redirect Uris:** http://localhost:3000/auth/logout/callback\n\n\nPlease note your `Client Id` and `Client Secret` that will be required in the application's configuration.\n\n## Getting Started\n\nFirst, install dependencies \n\n```shell script\n$ npm install\n# or with yarn\n$ yarn install\n```\n\nAfter that, all you need to do is configure the application. Rename `.env.example` file as just`.env`.\n\nThen configure the `.env` file using your Client ID, Client Secret, and PlusAuth tenant id.\n\n\nNow you can start the server:\n\n```shell script\n$ npm run start\n// or with yarn\n$ yarn start\n```\n\nThe example will be running at [http://localhost:3000/](http://localhost:3000/)\n\n## License\n\nThis project is licensed under the MIT license. See the [LICENSE](LICENSE) file for more info.\n\n## What is PlusAuth\n\nPlusAuth helps individuals, teams, and organizations to implement authorization and authentication systems in a secure, flexible and easy way.\n\n\u003ca href=\"https://plusauth.com/\" target=\"_blank\"\u003e\u003cstrong\u003eExplore the PlusAuth Website »\u003c/strong\u003e\u003c/a\u003e\n\n\u003ca href=\"https://docs.plusauth.com/\" target=\"_blank\"\u003e\u003cstrong\u003eExplore the PlusAuth Docs »\u003c/strong\u003e\u003c/a\u003e\n\n\u003ca href=\"https://forum.plusauth.com/\" target=\"_blank\"\u003e\u003cstrong\u003eExplore the PlusAuth Forum »\u003c/strong\u003e\u003c/a\u003e\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fplusauth%2Fplusauth-node-starter","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fplusauth%2Fplusauth-node-starter","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fplusauth%2Fplusauth-node-starter/lists"}