Skip to content

Latest commit

 

History

History
43 lines (29 loc) · 823 Bytes

README.md

File metadata and controls

43 lines (29 loc) · 823 Bytes

node-google-auth

A simple example using google-auth-library to authenticate and authorize users.

Technologies used

  • Node.js
  • Express

Getting Started

setup google client id and google client secret in your environment variable. which can be found in https://console.cloud.google.com/apis/credentials

GOOGLE_CLIENT_ID="your_client_id"
GOOGLE_CLIENT_SECRET="your_client_secret"

install dependencies

npm install
# or
pnpm install

start server

npm run dev
# or
pnpm dev

Usage