Expiring Presigned URLs #4740
Replies: 1 comment 2 replies
-
hi there, I have been meaning to make an example of this for awhile (older issue #2744) one option for this is to use our so-called 'internet accounts' system this allows you to implement a custom 'fetch' routine that can allow a token to be refreshed (our "oauth" internet account system does this with a "refresh token") there are not a lot of docs about creating your own 'internet account' but it is an element of our plugin system, and creating plugins when using embedded can be somewhat easy (see "plugins defined in your code" from https://jbrowse.org/storybook/lgv/main/?path=/docs/using-plugins--docs, don't have to use the jbrowse-plugin-template or anything) |
Beta Was this translation helpful? Give feedback.
-
Hi,
We're looking to embedded jbrowse as a react component in an existing application.
We have assembly and sequence data available using pre-signed URLs from an AWS S3 bucket. The pre-signed URLs will expire about 15 minutes after they have been generated.
I'm looking for a way for refresh the URLs periodically or refresh on demand. Looking at documentation and tutorials I've not found a way of doing this. I was wondering if there was a mechanism where a function could be called when requesting data.
Thanks
Pete
Beta Was this translation helpful? Give feedback.
All reactions