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. The preflight OPTIONS request gave me 403 error.
So, I then tried to proxy the galaxy server to a location of the same domain of my site using apache. Now there’s no CORS issue. But it now ask me for authentication to use the api. Seems the ‘Remote-User’ value doesn’t work anymore.
the request:
error response:
{"traceback": "No traceback available.", "err_msg": "API authentication required for this request", "err_code": 403001}
Any one knows why?