-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
Unable to configure CORS origins in multi-user Che #15631
Comments
you can't upload from nodejs ? (instead of doing it from client side) |
No, the request is called in the client side. the code described in the steps to reproduse is just an example the calls the request to che server from client side |
@vinokurig yes but client can't call server side to do the operation ? |
@benoitf Why not? It is possible in the single user Che. |
CC @l0rd @vinokurig cors is disabled intentionally #14921 since it is a source of a lot of security concerns. Could you please reimplement this functionality from the server-side. |
@vinokurig we need to carefully discuss this topic with architects before we go any forward with CORS |
Closing as expected behaviour |
Hi All,
https://che.eclipse.org/eclipse-che-6-15-6-16-and-6-17-release-notes-362cff44dcc9
https://developer.chrome.com/extensions/xhr
Wish to helpful.
…On Thu, Jan 9, 2020, 19:05 Igor Vinokur ***@***.***> wrote:
Closed #15631 <#15631>.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#15631>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AEYAML24RBF6LMR7RVNPOBDQ44HG7ANCNFSM4KEJ47UQ>
.
|
Describe the bug
Api requests to Che multi-user server from Che client side fail due to CORS error:
There is no
CHE_CORS_ALLOWED__ORIGINS
item in theche
config-mapChe version
Steps to reproduce
build and launch a simple che-theia plugin that does:
che.github.uploadPublicSshKey('publicKey');
See CORS errors in the browser console
Expected behavior
Runtime
kubectl version
)oc version
)minikube version
andkubectl version
)minishift version
andoc version
)docker version
andkubectl version
)Screenshots
Installation method
Environment
Additional context
The text was updated successfully, but these errors were encountered: