Firecloud and Google Bucket API

Hi Firecloud Team!

I am trying to view a pdf from a job output with PDF.JS

In order to do this, I need to access the file.

I generate a URI with

I pass along my authentication token in the header, and that works, but then I get:

XMLHttpRequest cannot load Response to preflight request doesn't pass access control check: No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin 'http://localhost' is therefore not allowed access

I was going to enable CORS on the bucket as described here:

Since I do not have access to the bucket I cannot do this though.

There is no API available in firecloud for me to access the object otherwise, but I need either:

A way to enable CORS on the bucket (for third party tools to be able to access the data)
A way to return a URI through firecloud API (given gs path return firecloud path that I can access if I provide a token in the header )

Thank you!

Best Answer


Sign In or Register to comment.