Code Monkey home page Code Monkey logo

Comments (2)

ckmaresca avatar ckmaresca commented on August 20, 2024

Just to update this -

  1. It seems that the order of the arguments makes a difference, the help printout from the command line has the wrong order, but the example in the README seems to be correct...
  2. Some of the arguments seem to require quotes, but others (like upstream) don't
    Pretty much everything I've tried has failed, I'm not sure how to launch this. This string doesn't seem to work, it just stops saying that flags are there but arguments are missing:

/opt/go/bin/google_auth_proxy \
--redirect-url=https://proxyhost-example.io/oauth2/callback \
--google_apps_domain=example-domain.io \
--upstream=https://internal.example-upstream.io/ \
--client_id=mysclientid.apps.googleusercontent.com \
--client_secret=myclientsecret \
--cookie_domain=example-domain.io

Thx for your help.

from oauth2_proxy.

ckmaresca avatar ckmaresca commented on August 20, 2024

After much head bashing, I managed to get a working startup script for Ubuntu, you can find it here:
https://gist.github.com/ckmaresca/1eaf1d3d019f677cb847

There are a lot of subtle issues with this code that don't crop up until you try to wrap management scripts around it, hopefully it will help someone figure it out. My aha moment came while looking at this issue: #10

from oauth2_proxy.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.