{"id":20444996,"url":"https://github.com/snapchat/express-4.x-passport-snapchat-example","last_synced_at":"2025-09-10T04:35:22.496Z","repository":{"id":33550527,"uuid":"159422211","full_name":"Snapchat/express-4.x-passport-snapchat-example","owner":"Snapchat","description":"Express 4.x app using Passport for authorization with Snapchat.","archived":false,"fork":false,"pushed_at":"2023-04-15T09:11:42.000Z","size":42,"stargazers_count":42,"open_issues_count":15,"forks_count":16,"subscribers_count":4,"default_branch":"main","last_synced_at":"2025-04-13T00:26:31.087Z","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":"unlicense","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Snapchat.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,"zenodo":null}},"created_at":"2018-11-28T01:02:56.000Z","updated_at":"2024-10-26T20:45:57.000Z","dependencies_parsed_at":"2025-04-13T00:35:03.914Z","dependency_job_id":null,"html_url":"https://github.com/Snapchat/express-4.x-passport-snapchat-example","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/Snapchat/express-4.x-passport-snapchat-example","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Snapchat%2Fexpress-4.x-passport-snapchat-example","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Snapchat%2Fexpress-4.x-passport-snapchat-example/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Snapchat%2Fexpress-4.x-passport-snapchat-example/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Snapchat%2Fexpress-4.x-passport-snapchat-example/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Snapchat","download_url":"https://codeload.github.com/Snapchat/express-4.x-passport-snapchat-example/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Snapchat%2Fexpress-4.x-passport-snapchat-example/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":274411954,"owners_count":25280197,"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","status":"online","status_checked_at":"2025-09-10T02:00:12.551Z","response_time":83,"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-15T10:10:29.310Z","updated_at":"2025-09-10T04:35:22.474Z","avatar_url":"https://github.com/Snapchat.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"This example demonstrates how to use [Express](http://expressjs.com/) 4.x and\n[Passport](http://passportjs.org/) to authenticate users using Snapchat.  Use\nthis example as a starting point for your own web applications.\n\n## Instructions\n\nTo install this example on your computer, clone the repository and install\ndependencies.\n\n```bash\n$ git clone https://github.com/Snapchat/express-4.x-passport-snapchat-example.git\n$ cd express-4.x-passport-snapchat-example\n$ npm install\n```\n\nThe example uses environment variables to configure the consumer key and\nconsumer secret needed to access snapchat's API.  Start the server with those\nvariables set to the appropriate credentials.\n\n```bash\n$ CLIENT_ID=__snapchat_CLIENT_ID__ CLIENT_SECRET=__snapchat_CLIENT_SECRET__ SESSION_SECRET=whatever node server.js\n```\n\nOpen a web browser and navigate to [http://localhost:3000/](http://localhost:3000/)\nto see the example in action.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsnapchat%2Fexpress-4.x-passport-snapchat-example","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsnapchat%2Fexpress-4.x-passport-snapchat-example","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsnapchat%2Fexpress-4.x-passport-snapchat-example/lists"}