{"id":15888453,"url":"https://github.com/sorodrigo/oauth-login","last_synced_at":"2026-01-16T01:41:24.168Z","repository":{"id":39285605,"uuid":"228482672","full_name":"sorodrigo/oauth-login","owner":"sorodrigo","description":null,"archived":false,"fork":false,"pushed_at":"2023-01-05T03:09:36.000Z","size":2738,"stargazers_count":0,"open_issues_count":24,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-02-08T07:25:52.298Z","etag":null,"topics":["github","now","now-cli","now-sh","oauth"],"latest_commit_sha":null,"homepage":"https://oauth-login.now.sh/","language":"TypeScript","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/sorodrigo.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":"2019-12-16T21:54:23.000Z","updated_at":"2020-06-07T19:31:46.000Z","dependencies_parsed_at":"2023-02-03T08:01:24.378Z","dependency_job_id":null,"html_url":"https://github.com/sorodrigo/oauth-login","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/sorodrigo%2Foauth-login","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sorodrigo%2Foauth-login/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sorodrigo%2Foauth-login/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sorodrigo%2Foauth-login/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/sorodrigo","download_url":"https://codeload.github.com/sorodrigo/oauth-login/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246853620,"owners_count":20844612,"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":["github","now","now-cli","now-sh","oauth"],"created_at":"2024-10-06T06:20:51.597Z","updated_at":"2026-01-16T01:41:24.143Z","avatar_url":"https://github.com/sorodrigo.png","language":"TypeScript","readme":"# oauth-login\n\nThis app is runs on top of Now.sh serverless deployments. The frontend retrieves a `code` from github's oauth login and sends it to a lambda function. This endpoint uses the `code` to request an `access_token`. The token is later sent back for the client to use to interact with Github's API.\n\n## Requirements\n1. [Zeit's Now account.](https://zeit.co)\n2. [Install Now CLI.](https://zeit.co/download)\n3. [Create a Github's oAuth app.](https://developer.github.com/apps/building-oauth-apps/)\n4. Setup the following details as [Now secrets](https://zeit.co/docs/v2/serverless-functions/env-and-secrets#adding-secrets):\n    - client_id as `@app-client-id`\n    - client_secret as `@app-client-secret`\n    - redirect_uri as `@app-redirect-url`\n\n![sneak-peek](https://raw.githubusercontent.com/sorodrigo/oauth-login/master/oauth-login.gif)\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsorodrigo%2Foauth-login","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsorodrigo%2Foauth-login","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsorodrigo%2Foauth-login/lists"}