imkira / gcp-iap-auth

A simple server implementation and package in Go for helping you secure your web apps running on GCP behind a Cloud IAP (Identity-Aware Proxy)
MIT License
88 stars 31 forks source link

proxy mode #1

Closed joemiller closed 7 years ago

joemiller commented 7 years ago

I would like to use gcp-iap-auth as a proxy in front of other webapps: [iap] -> [gcp-iap-auth] -> [backend app]. Assuming this will work. I started working on a small utility to do this and realized I was importing so much of gcp-iap-auth that maybe it would make sense to implement proxy-mode as an option, perhaps a flag like -proxy http://localhost:8080.

I am happy to send a PR, time permitting, if you think this may be acceptable?

imkira commented 7 years ago

Sorry for the huge delay. Yep looks great to me. Thanks a lot for the contrib!

imkira commented 7 years ago

Just merged!