Skip to content

htsget auth support #86

@brainstorm

Description

@brainstorm

Hello @cmdcolin,

We are deploying JBrowse2 @umccr, primarily for the htsget support, so that different web-based clients work fine using one data access interface (htsget).

Unfortunately we hit a snag with the Bearer token support, which would allow our users to access private data via htsget, namely:

bam-js/src/htsget.ts

Lines 65 to 68 in 25ba6e8

const base = `${this.baseUrl}/${this.trackId}`
const url = `${base}?referenceName=${chr}&start=${min}&end=${max}&format=BAM`
const chrId = this.chrToIndex && this.chrToIndex[chr]
const result = await fetch(url, { ...opts })

Do you have plans to add Bearer token support to htsget in JBrowse2?

@andrewpatto @victorskl @mmalenic

/cc @ohofmann @mlin

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions