Re: [galaxy-dev] How to access the api by jQuery ajax?

2015-06-04 Thread Yanbo Ye
Hi Eric, Yes, you are right. The REMOTE_USER was stripped out by apache. After setting it in the header of the proxy config, now it works perfect. For uploading, currently all files are uploaded by an admin user and assigned to common users. don't know if any other problems there. Thanks for your

Re: [galaxy-dev] How to access the api by jQuery ajax?

2015-06-04 Thread Eric Rasche
I can't speak to your CORS issues, but you may have to add some custom CORS header in your webserver. If you have a webserver in front of Galaxy, it is absolutely for sure stripping REMOTE_USER out. If you're using remote_user authentication, you'll have to do something a bit different, and confi

[galaxy-dev] How to access the api by jQuery ajax?

2015-06-04 Thread Yanbo Ye
Hi, all I’m trying to access the api of my local galaxy instance from another site, under the remote user mode. At first, I sent request directly to the galaxy server. and it was OK when I test it using Postman (with ‘Remote-User’ in the header). But there’s CORS issue when I use it on my site. T