Google OAuth Tools
This repository holds some go subpackages and an npm module containing
redux middleware that implement some reusable tooling to handle
Google-based oauth in a single page application.
It's provided with 0 warranty for the time being.
Example
While the code itself serves as documentation for the time being, an
example Go/React SPA is in the "example" directory. It comes pre-configured
with a watch-based re-builder for both the server and the client.
It leverages a badger
-based store for refresh token storage and shows
how one can customize some of the behavioral components of the auth-flow
handlers by simply embedding some canned structs and implementing replacement
behavior.