Track protected via HTTP Basic Authentication #4299
-
I am seeing a lot of mention in the issue queue that implies that support for this already exists but I cannot find any information on how to accomplish it 🙈 What we want to accomplishWe want to update our current JBrowse2 config to only include URLs (every track is behind HTTP Basic auth via htaccess) for two reasons:
How I think we want to implement itI've seen mention of JBrowse2 having functionality called "internet accounts" which can describe how to access third party resources. I've also seen mention of an "HTTP Basic" InternetAccountType but I can't seem to find documentation that ties it all together and tells me how to do this 😅 ResourcesThis is some of what I've been coming across but none specifically tell me how to do this 🙈
|
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 4 replies
-
here is some possible help
if you want to run the config_auth demo to try it out yourself run these steps
then when you select a basic auth track from the tracklist, it will prompt for login which is admin:password |
Beta Was this translation helpful? Give feedback.
here is some possible help
you can configure an HTTPBasicInternetAccount in your config.json
jbrowse-components/test_data/volvox/config_auth.json
Lines 237 to 242 in 42442fe
you can make every "location" object have that internetAccountId added to it example https://github.com/GMOD/jbrowse-components/blob/main/test_data/volvox/config_auth.json#L188-L209
if you want to run the config_auth demo to try it out yourself run these steps