Skip to content

Schachte/cloudflare-worker-gauth-example

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Cloudflare Worker using Google OAuth2 Library

Background

This is a demo repo showing off the usage of my OAuth2 module here. The goal is to easily authenticate with the Google Cloud HTTP API when using the OAuth2 flow for a service account from within a Cloudflare Worker.

Deployment

The deployment deploys to Cloudflare Workers using the wrangler CLI tool.

  1. wrangler login
  2. wrangler publish

Note: Ensure you've set the environment variable GCP_SERVICE_ACCOUNT with your service account JSON key downloaded from Google.

About

Demo of my Cloudflare OAuth2 module for Cloudflare Workers

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published