{"id":18577522,"url":"https://github.com/ecomplus/passport","last_synced_at":"2026-02-13T02:48:09.286Z","repository":{"id":47094752,"uuid":"116847371","full_name":"ecomplus/passport","owner":"ecomplus","description":"E-Com Plus service for customer login and signup with Passportjs","archived":false,"fork":false,"pushed_at":"2025-02-27T04:55:54.000Z","size":841,"stargazers_count":0,"open_issues_count":1,"forks_count":2,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-06-05T00:24:37.251Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ecomplus.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","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,"zenodo":null}},"created_at":"2018-01-09T17:21:48.000Z","updated_at":"2025-02-27T04:55:58.000Z","dependencies_parsed_at":"2025-02-27T05:28:58.154Z","dependency_job_id":"c894f490-68be-4291-8442-8a967796419a","html_url":"https://github.com/ecomplus/passport","commit_stats":null,"previous_names":[],"tags_count":41,"template":false,"template_full_name":null,"purl":"pkg:github/ecomplus/passport","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ecomplus%2Fpassport","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ecomplus%2Fpassport/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ecomplus%2Fpassport/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ecomplus%2Fpassport/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ecomplus","download_url":"https://codeload.github.com/ecomplus/passport/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ecomplus%2Fpassport/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29393712,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-13T00:53:09.511Z","status":"online","status_checked_at":"2026-02-13T02:00:10.076Z","response_time":78,"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":"2024-11-06T23:29:30.753Z","updated_at":"2026-02-13T02:48:09.271Z","avatar_url":"https://github.com/ecomplus.png","language":"JavaScript","readme":"# ecomplus-passport\nE-Com Plus service for customer login and signup with Passportjs\n\n# Technology stack\n+ [NodeJS](https://nodejs.org/en/) 12+\n+ [Express](http://expressjs.com/) web framework package\n+ [Passport](http://www.passportjs.org/) package\n+ OAuth strategies: Facebook, Google, Twitter, Instagram, Yahoo and Windows Live\n+ [JSON Web Token](https://jwt.io/)\n\n# Setting up\n```bash\ngit clone https://github.com/ecomplus/passport\ncd ecomplus-passport\ncp config/config-sample.json config/config.json\nnano config/config.json\n```\n\nEdit `config.json` placing correct values for your environment,\nafter that, start app with node:\n\n```bash\nnode ./main.js\n```\n\n# Web server\nYou need to use a web server such as NGINX or Apache HTTP,\nproxy passing the requests to configured TCP port.\n\n# Frontend script\n\n## Example\n\n```javascript\nvar uri = 'https://passport.e-com.plus/v1/pt_br/1004/sdjcksadcasbcsabdcbsldjlbcasbdcs/login.html'\nvar popup = window.open(uri, 'Passport', 'height=400,width=340')\nif (window.focus) {\n  popup.focus()\n}\nvar getCustomerInfo = function () {\n  // run after login\n  clearInterval(popupWatch)\n  console.log('logged?')\n}\n// public callback function\nwindow.passportCallback = function () {\n  // logged\n  getCustomerInfo()\n}\n// fallback\nvar popupWatch = setInterval(function () {\n  if (popup.closed) {\n    // may be logged\n    getCustomerInfo()\n  }\n}, 400)\n```\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fecomplus%2Fpassport","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fecomplus%2Fpassport","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fecomplus%2Fpassport/lists"}