igvteam / igv-webapp

IGV Web App
https://igv.org/app
MIT License
117 stars 43 forks source link

No login prompt #292

Closed OumaimaHamza closed 5 months ago

OumaimaHamza commented 5 months ago

Hello I am loading data tracks from URL , I got a prompt to enter the link for the bam file and the index file but no login prompt When I start zooming in to see the features I get this error

Screenshot 2024-06-05 at 3 14 06 PM

I tried with the iGV desktop app and it prompted me to enter my username and password and the tracks were loaded Thanks !

jrobinso commented 5 months ago

What type of authentication are you using?

jrobinso commented 5 months ago

The URL above redirects to a login page. This is something custom for OICR. It's possible they have configured your desktop application to support it, but igv-webapp has no knowledge of this.

OumaimaHamza commented 5 months ago

It's basic authentication with username and password , I downloaded the iGV desktop app myself , I dont think it's been pre-configured

jrobinso commented 5 months ago

Basic authentication is not supported by the webapp.

jrobinso commented 5 months ago

And the server is not responding with a basic authentication response in any event. The request to the "bai" file above returns a 302 redirect to /my.policy, not a 401 not-authorized response.