Giter Site home page Giter Site logo

Comments (6)

 avatar commented on July 17, 2024 8

Correction finally got it to work and here is my options.

- '-openshift-review-url=https://openshift.default.svc/apis/authorization.openshift.io/v1/subjectaccessreviews'
- '-redeem-url=https://openshift.default.svc/oauth/token'
- '-validate-url=https://openshift.default.svc/apis/user.openshift.io/v1/users/~'

from oauth-proxy.

enj avatar enj commented on July 17, 2024

is there a plan to make those fields to be over written?

No, there are no plans to change the configuration of these fields. masterPublicURL must be available both internally and externally to the cluster. The decision between masterPublicURL and masterURL is one that should be based on the origin of the request (and we did not have a good way to determine that), not one that is based on a singular hard coded configuration. Thus we opted to use masterPublicURL as that is generally available to all parties.

If you have a proxy in front of openshift, you can have it override the data returned for /.well-known/oauth-authorization-server with the desired values.

from oauth-proxy.

enj avatar enj commented on July 17, 2024

Feel free to reopen if you have further questions.

from oauth-proxy.

 avatar commented on July 17, 2024

Not to re-open more of something on the side. I finally got this working using the below extra options
'-redeem-url=https://openshift.default.svc/oauth/token'
'-validate-url=https://openshift.default.svc/oauth/authorize'

So login is still on the public master url, but actual authentication is now on the internal where the nodes can actually hit the master api.
Working on a separate 500 error issue now but getting there.

from oauth-proxy.

geropizarro avatar geropizarro commented on July 17, 2024

The above worked for me too. Thanks!

from oauth-proxy.

newlight77 avatar newlight77 commented on July 17, 2024

That works for me as well. Thanks

from oauth-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.