Skip to content

tigawanna/google-api-auth

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Nodejs authentication server for google apis


This is meant to have an endpoint that an app can ping to get a refesh token for google apis everytime we hit

"http://localhost:4000/google"

with the redirect url "http://localhost:4000/creds" which google will send it;s respone to , if succesfullit returns access and refresh tokens

you'll first need to configure your google cloud console to create a project and allow apis watch:

youtube video explaining how to set up google console (from 2:04 - 6:35)

, in this case we'll be using the gmail api to send a n email everytime we hit "http://localhost:4000/mail"

don't forget to run npm i

then yarn start/npm run start then ping "http://localhost:4000/google"

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published