Skip to content
This repository has been archived by the owner. It is now read-only.

taskcollect-old/gauthman

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

gauthman

Taskcollect's Google Authentication Manager.

A small microservice with one purpose: take care of token exchange with Google.

HTTP Spec

/v1/exchange

Query Parameters

  • code - the one-time access code from the frontend

Returns

{
  "access": "token here", // access token returned by google
  "refresh": "other token here", // refresh token returned by google
  "expires": 1639630704 // when the access token expires
}

IMPORTANT NOTE!

Google will only return a refresh token if this is the user's first time authorizing with the application UNLESS you specify prompt=consent in the clientside sign-in code!

About

Google Authentication Manager

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published