-
Notifications
You must be signed in to change notification settings - Fork 699
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
setup cors for redirects under iap #688
Conversation
Hi @swiftdiaries I don't believe this one change will solve kubeflow/kubeflow#574 since the fetch will need to have similar options set for create and other tfjob operations. The fetch change in services.js to get the list of jobs results in a 302 and the browser does a preflight OPTIONS on the redirect location https://accounts.google.com/o/oauth2/v2/auth?login_hint=118075057959340259429&client_id=336335541993-1m7cegck4jic23263v0gplhc46f4rmmj.apps.googleusercontent.com&response_type=code&scope=openid+email&redirect_uri=https://kamkasravi.com/_gcp_gatekeeper/authenticate&state=CihodHRwczovL2thbWthc3JhdmkuY29tL3Rmam9icy9hcGkvdGZqb2IvEjBBQWgtV1puaVV5VTVrN2FFdTg5RXRiWmtMenBPY2lnUHJnOjE1Mjk1MTM3NjE3MDY This preflight OPTIONS check to google's accounts returns a 405. I'm going to mark this PR as WIP since I'm going to try a few other things like setting nocors on both the list and create. |
/assign @wbuchwalter @swiftdiaries |
When I submit a new job in the UI I see the following:
It doesn't look like it's not getting the namespace. Do I need to set that in an environment variable in the Create job form? |
@swiftdiaries I'm going to open an issue on the above error since it's separate from the IAP work |
/retest |
@kkasravi Any update on this ? /assign jlewi |
/retest |
/lgtm @kkasravi Thank you so much for fixing this! |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: jlewi The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
fixes kubeflow/kubeflow#574
This change is