sorodrigo / oauth-login

Home Page:https://oauth-login.now.sh/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

oauth-login

This 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.

Requirements

  1. Zeit's Now account.
  2. Install Now CLI.
  3. Create a Github's oAuth app.
  4. Setup the following details as Now secrets:
    • client_id as @app-client-id
    • client_secret as @app-client-secret
    • redirect_uri as @app-redirect-url

sneak-peek

About

https://oauth-login.now.sh/

License:MIT License


Languages

Language:TypeScript 72.3%Language:CSS 21.6%Language:HTML 6.1%