kubeflow: TFJobs UI doesn't work behind IAP; React APP needs support IAP?
TFJobs UI is deployed on dev.kubeflow.org.
The UI shows up behind IAP but its doesn’t work
- No TFJobs are listed
- Creating a job via the UI doesn’t work.
Looking at the developer console we see requests to
https://accounts.google.com/o/oauth2/v2/auth?client_id=235037502967-9cpmvs4ljbiqb3ojtnhnhlkkd8d562rl.apps.googleusercontent.com&response_type=code&scope=openid+email&redirect_uri=https://dev.kubeflow.org/_gcp_gatekeeper/authenticate&state=Ci1odHRwczovL2Rldi5rdWJlZmxvdy5vcmcvdGZqb2JzL2FwaS9uYW1lc3BhY2USMEFOa2F0U2dYVjdSYnlHMzVXeGFwR1gxNURTS29TNjNiYnc6MTUyMjc4MDQxODEwOA
Which suggests to me the request is hitting the loadbalancer and being directed to do auth verification to sign in and its getting rejected.
So I think one of two things is happening
- The request is coming from the server running in K8s and incorrectly being redirected to the external loadbalncer and thus hitting IAP when it shouldn’t be
- The request is coming from the client and the client needs to be updated to support IAP.
@wbuchwalter Do you know where the request is coming from?
You should be able to access it at https://dev.kubeflow.org/tfjobs/ui/
About this issue
- Original URL
- State: closed
- Created 6 years ago
- Comments: 43 (43 by maintainers)
Commits related to this issue
- fixing #574 — committed to kkasravi/kubeflow by deleted user 6 years ago
- TFJobs UI doesn't work behind IAP (#1073) * fixing #574 * adding cors to ambassador for /tfjobs/ * update iap to include tfjobs path * remove cors from ambassador annotations - not needed * remov... — committed to kubeflow/kubeflow by kkasravi 6 years ago
- Create a version of echo-server to echo headers. * This is intended to support debugging IAP; we want to see what headers are on resulting requests. * See kubeflow/kubeflow#574 * While creating t... — committed to jlewi/kubeflow by jlewi 6 years ago
- Create a version of echo-server to echo headers. (#1097) * Create a version of echo-server to echo headers. * This is intended to support debugging IAP; we want to see what headers are on resultin... — committed to kubeflow/kubeflow by jlewi 6 years ago
- Update TFJob image to include the fixes to make the UI work with IAP. * See #574 — committed to jlewi/kubeflow by jlewi 6 years ago
- Update TFJob image to include the fixes to make the UI work with IAP. * See #574 — committed to jlewi/kubeflow by jlewi 6 years ago
- Update TFJob image to include the fixes to make the UI work with IAP. (#1265) * See #574 — committed to kubeflow/kubeflow by jlewi 6 years ago
- update profile API (#574) — committed to arrikto/kubeflow by kunmingg 5 years ago
- TFJobs UI doesn't work behind IAP (#1073) * fixing #574 * adding cors to ambassador for /tfjobs/ * update iap to include tfjobs path * remove cors from ambassador annotations - not needed * remov... — committed to StatCan/kubeflow by kkasravi 6 years ago
- Create a version of echo-server to echo headers. (#1097) * Create a version of echo-server to echo headers. * This is intended to support debugging IAP; we want to see what headers are on resultin... — committed to StatCan/kubeflow by jlewi 6 years ago
- Update TFJob image to include the fixes to make the UI work with IAP. (#1265) * See #574 — committed to StatCan/kubeflow by jlewi 6 years ago
- Add Validate Algorithm Settings in v1alpha2 (#574) * Add Validate Algorithm Settings * Integrate ValidateAlgorithmSettings in ManagerClient * Run dep ensure — committed to arrikto/kubeflow by andreyvelich 5 years ago
- add jocstaa to members (#574) * add jocstaa to members * Update org.yaml — committed to arrikto/kubeflow by JOCSTAA 2 years ago
@kkasravi Kam you have access to project kubeflow-dev. Feel free to use that.
@jlewi I can look at this - given my recent wrestling with jupyterhub I think it should be straigtforward.
I think @wbuchwalter started looking at this last week.