proxy-s3-google-oauth

MIT License

Stars
8

Google Oauth Proxy to S3

What does it do?

A simple little server to proxy content from an s3 bucket through an expressjs server checking google auth credentials.

Configuration

All configuration is done with env variables

  • BASE_URL - Return url for google oauth
  • COOKIE_SECRET - Secret used for signing cookies
  • GOOGLE_CLIENT_ID - OAuth client id
  • GOOGLE_CLIENT_SECRET - OAuth Client Secret
  • (Optional) GOOGLE_HOSTED_DOMAIN - Domain for limiting to single domain for google apps
  • (Optional) AWS_ACCESS_KEY_ID - Aws Key
  • (Optional) AWS_SECRET_ACCESS_KEY - aws secret key
  • AWS_REGION - region bucket is in
  • AWS_S3_BUCKET - bucket name