{"id":19391183,"url":"https://github.com/amulyakashyap09/githubauthentication","last_synced_at":"2026-04-15T14:04:54.402Z","repository":{"id":143962658,"uuid":"151852427","full_name":"amulyakashyap09/githubAuthentication","owner":"amulyakashyap09","description":"A simple application that demonstrates the github authentication mechanism in nodejs","archived":false,"fork":false,"pushed_at":"2018-10-06T15:25:43.000Z","size":4,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-01-07T09:47:18.038Z","etag":null,"topics":["authentication","expressjs","github","nodejs","passport","passport-github"],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/amulyakashyap09.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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":"2018-10-06T15:17:11.000Z","updated_at":"2018-10-06T15:26:43.000Z","dependencies_parsed_at":null,"dependency_job_id":"930451a9-915b-44dd-9fab-c2929e0e850b","html_url":"https://github.com/amulyakashyap09/githubAuthentication","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/amulyakashyap09%2FgithubAuthentication","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/amulyakashyap09%2FgithubAuthentication/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/amulyakashyap09%2FgithubAuthentication/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/amulyakashyap09%2FgithubAuthentication/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/amulyakashyap09","download_url":"https://codeload.github.com/amulyakashyap09/githubAuthentication/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":240557489,"owners_count":19820359,"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","expressjs","github","nodejs","passport","passport-github"],"created_at":"2024-11-10T10:25:20.190Z","updated_at":"2026-04-15T14:04:54.357Z","avatar_url":"https://github.com/amulyakashyap09.png","language":"JavaScript","readme":"# OpenGift Github login/registration\n\nOpenGift Github login/registration enables users to login / signup using github\n\n## Installation\n\n### Requirements\n* Linux/Windows/Mac\n* Node \u003e 7.4.x\n\n\n## Usage\n\n### Pre-requisites\n\n```\n    1. Register your application on github.com\n    2. GOTO https://github.com/settings/applications/new\n    3. SET clientID, clientSecret, callbackURL\n```\n\n```\n    4. COPY All three keys to your application file name ~/Desktop/giftopen/app.js\n// app.js\n    passport.use(new GithubStrategy({\n        clientID: 'your app client id',\n        clientSecret: 'your app client secret',\n        callbackURL: 'http://localhost:3000/auth/callback'\n        }, function(accessToken, refreshToken, profile, done){\n        done(null, {\n            accessToken: accessToken,\n            profile: profile\n        });\n    }));\n    \n    5. cd ~/Desktop/giftopen\n    6. npm install\n    7. npm start\n```\n\n## Contributing\nPull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.\n\nPlease make sure to update tests as appropriate.\n\n## License\n[MIT](https://choosealicense.com/licenses/mit/)","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Famulyakashyap09%2Fgithubauthentication","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Famulyakashyap09%2Fgithubauthentication","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Famulyakashyap09%2Fgithubauthentication/lists"}