Describe the bug
I noticed that putting a trame app behind a HTTP Basic Auth link, e.g., https://user:password@url.net, does break the trame app. It would be nice if this worked, to easily share password-protected applications via URLs/URIs.
To Reproduce
Create a .htpasswd or similar for your Apache/Nginx webserver that serves trame. For instance, added to a Cloud provider's ingress. Then, load the trame application via a direct linke of the form https://user:password@url.net.
The page stays blank and the browser developer console shows errors loading trame & its third party resources.
Observation
Interestingly, because browsers cache the HTTP basic auth, one can get the app to work by hitting "refresh" after the first load of the page. The browser then strips the user and password from the current URL, does not inject them into loaded resources of the trame app, and loads up successfully.
Expected behavior
If would be great if this worked on first load. A possible implementation could reload automatically or ensure that the loaded resources do not throw errors.
Screenshots
The system I see this on (NERSC Perlmutter Spin using Ranger/Kubernetes) is down today, but I'll add one later.
Platform:
Device:
OS:
Browsers Affected:
Describe the bug
I noticed that putting a trame app behind a HTTP Basic Auth link, e.g.,
https://user:password@url.net, does break the trame app. It would be nice if this worked, to easily share password-protected applications via URLs/URIs.To Reproduce
Create a
.htpasswdor similar for your Apache/Nginx webserver that serves trame. For instance, added to a Cloud provider's ingress. Then, load the trame application via a direct linke of the formhttps://user:password@url.net.The page stays blank and the browser developer console shows errors loading trame & its third party resources.
Observation
Interestingly, because browsers cache the HTTP basic auth, one can get the app to work by hitting "refresh" after the first load of the page. The browser then strips the user and password from the current URL, does not inject them into loaded resources of the trame app, and loads up successfully.
Expected behavior
If would be great if this worked on first load. A possible implementation could reload automatically or ensure that the loaded resources do not throw errors.
Screenshots
The system I see this on (NERSC Perlmutter Spin using Ranger/Kubernetes) is down today, but I'll add one later.
Platform:
Device:
OS:
Browsers Affected: