Closed ricosega closed 2 years ago
cc @snowp
This issue has been automatically marked as stale because it has not had activity in the last 30 days. It will be closed in the next 7 days unless it is tagged "help wanted" or "no stalebot" or other activity occurs. Thank you for your contributions.
Not sure if this helps but I had a similar issue with knative. It helped to configure an envoy instance manually (oauth2) to confirm it is was an envoy issue, istio issue or "key cloak" configuration issue. In the end i found it to be a knative/istio issue as when configured directly in envoy everything worked. For me the issue was the state being incorrect (http authority) resulting in the final phase failing in istio.
@andrewwebber , yes, I should maybe ask this directly in istio because it could me more an istio issue.
@ricosega I am running into the exact same issue, word for word, and also followed the exact same blog you referenced. Did you have any more lead on this?
@ricosega I am running into an issue where secrets do not get uploaded to ingressgateway, so when filters are attempted to be pushed to ingressgateway I get error below (the filter is getting rejected by ingressgateway/envoy proxy):
"listener(s) 0.0.0.0_8080: paths must refer to an existing path in the system: '/etc/istio/config/oauth2/token-secret.yaml' does not exist"
It looks to me like the config/map secrets should be getting pushed to ingressgateway/envoy proxy as static secret resources - but are not.
Any thought/ideas why that might not be working much appreciated.
Thanks
It looks to me like the config/map secrets should be getting pushed to ingressgateway/envoy proxy as static secret resources - but are not.
@northerndev I reached the same conclusion and decided to just edit the ingressgateway deployment to mount it myself
Hi there,
I am using the stack "Istio - oauth2-proxy - Keycloak" for authentication in my apps and as I have seen the oauth2 filter I wanted to get rid of oauth2-proxy.
I followed this post in order to make it work with the only difference I am using Keycloak instead of GoogleOauth.
I applied the following .yaml
And when I try to access any app I am properly redirected to Keycloak, then I input username and password but when I am redirected back to the app I get the following message: "OAuth flow failed".
What is wrong in my config? What I am missing?