-
Notifications
You must be signed in to change notification settings - Fork 327
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Multiple oauth configs #345
Conversation
@chiefbrain Thank you for putting time and effort into VP By my reckoning this PR solves a different problem than #302, which is meant to correlate and discover the proper Why not use multiple Vouch Proxy instances? VP is pretty light. The docker container comes in at 12MB. This PR changes the usage of the configuration element Could you please elaborate on the problem you are having and why this is your preferred solution? |
This is the current implementation.
Yes, you are right, this does not solve #302. Since domains are not a simple list any more, I think a callback_url can be added easily.
To allow an IdP to differentiate between subdomains, one vouch instance has to setup per subdomain and all nginx hosts have to point to their instance. Since vouch can handle multiple domain, I like the idea of having only one vouch instance and using an nginx template for all domains.
I thought the callback_uri change would need a config break, so why not use it ;) |
@chiefbrain Happy New Year! as per #308 (fixes #302) I don't think there is a need for a config change. I'm going to close this. Running multiple VP instances is the preferred solution here. I just don't feel that its onerous to run multiple VPs on modern hardware. Can you please review these instructions before opening a PR in the future. I hate to see so much effort not result in moving VP forward. Never the less, please accept my thanks for offering your time and attention to Vouch Proxy. |
@bnfinet Happy new Year
This is just wrong, but led me to the impression my implementation would allow/deny users based on client_id. |
I did a quick hack regarding #302:
An old config needs to changed changed from
to the following config
Domains can be specified using the environment using
VOUCH_DOMAINS=uri=example1.tld;service=oidc_service,uri=example2.tld;service=oidc_service.
I'm not sure what to do with the env configuration for oauth.