You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Same behavior as using default oauth2 proxy-prefix.
Current Behaviour
Attempting to login to an ingress using oauth2proxy as a defined prefix results in a 403 error page from nginx.
Steps To Reproduce
Set oauth2-proxy.extraArgs.proxy-prefix: "oauth2proxy"
Set the oauth2-proxy Ingress path to "/oauth2proxy"
Set Ingress for protected resource (I used a basic nginx deployment with the stock Hello World HTML for testing) to use "/oauth2proxy" instead of default "/oauth2"
Deploy resources
Visit resource defined in step 3 in web browser
Receive 403 Forbidden from the Ingress NGINX without attempt to login.
Possible Solutions
No response
Configuration details or additional information
I'm attempting to deploy oauth2-proxy using Helm on the same hostname that has another application already using /oauth2, so I'm attempting to change the prefix used by oauth2-proxy. My setup is pretty simple for Kubernetes - I have a basic Keycloak (23.0.6), NGINIX Ingress, oauth2-proxy, and a basic nginx deployment displaying the stock welcome message.
I'm attempting to protect the basic nginx deployment using oauth2-proxy. I have it working using the default proxy-prefix of /oauth2, but if I make the modifications in the "step to reproduce", I end up with a 403 error message and no attempt to login to send to Keycloak for authentication.
I've removed the conflicting application in an attempt to get this to work and reduced it down to only ingress, keycloak, oauth2-proxy, and the basic nginx deployment.
Looking at the logs for the ingress pod as well as oauth2-proxy, they register the 403 result, but that's it. It's not clear to me what else I need to configure in order to change the prefix for oauth2-proxy.
The text was updated successfully, but these errors were encountered:
This issue has been inactive for 60 days. If the issue is still relevant please comment to re-activate the issue. If no action is taken within 7 days, the issue will be marked closed.
@adam-long Sorry, but I can't help you more.
If the issue is not transferred back to the correct repo, I suggest you reopen it by increasing the configuration details and making it explicit that it is not a chart problem.
Using the word "helm" in the title has shifted attention away from the problem. 🤷🏻♂️
OAuth2-Proxy Version
7.6
Provider
keycloak-oidc
Expected Behaviour
Same behavior as using default
oauth2
proxy-prefix.Current Behaviour
Attempting to login to an ingress using
oauth2proxy
as a defined prefix results in a 403 error page from nginx.Steps To Reproduce
oauth2-proxy.extraArgs.proxy-prefix: "oauth2proxy"
403 Forbidden
from the Ingress NGINX without attempt to login.Possible Solutions
No response
Configuration details or additional information
I'm attempting to deploy oauth2-proxy using Helm on the same hostname that has another application already using
/oauth2
, so I'm attempting to change the prefix used by oauth2-proxy. My setup is pretty simple for Kubernetes - I have a basic Keycloak (23.0.6), NGINIX Ingress, oauth2-proxy, and a basic nginx deployment displaying the stock welcome message.I'm attempting to protect the basic nginx deployment using oauth2-proxy. I have it working using the default
proxy-prefix
of/oauth2
, but if I make the modifications in the "step to reproduce", I end up with a 403 error message and no attempt to login to send to Keycloak for authentication.I've removed the conflicting application in an attempt to get this to work and reduced it down to only ingress, keycloak, oauth2-proxy, and the basic nginx deployment.
Looking at the logs for the ingress pod as well as oauth2-proxy, they register the 403 result, but that's it. It's not clear to me what else I need to configure in order to change the prefix for oauth2-proxy.
The text was updated successfully, but these errors were encountered: