Skip to content

Instantly share code, notes, and snippets.

@cuotos
Last active March 11, 2020 10:36
Show Gist options
  • Save cuotos/f56390a14a188b570280a15cd12fe863 to your computer and use it in GitHub Desktop.
Save cuotos/f56390a14a188b570280a15cd12fe863 to your computer and use it in GitHub Desktop.
OAuth Stuff
docker run \
--rm \
-ti \
-p 4180:4180 \
-e OAUTH2_PROXY_REDIRECT_URL=http://localhost:4180/oauth2/callback \
-e OAUTH2_PROXY_PROVIDER=github \
-e OAUTH2_PROXY_UPSTREAMS="static://200" \
-e OAUTH2_PROXY_HTTP_ADDRESS="0.0.0.0:4180" \
-e OAUTH2_PROXY_EMAIL_DOMAINS="*" \
-e OAUTH2_PROXY_COOKIE_SECURE=false \
-e OAUTH2_PROXY_CLIENT_ID=XXXX \
-e OAUTH2_PROXY_CLIENT_SECRET=XXXX \
-e OAUTH2_PROXY_COOKIE_SECRET=THISISSECRET \
quay.io/pusher/oauth2_proxy
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment