Skip to content

slapos_web: get json schema with basic authentication if credentials are set in URL

Alain Takoudjou requested to merge load-schema into master

In Gitlab, if URL is like https://USERNAME:PASSWORD@somedomain.com then gitlab will return 401 and ask for basic Authentication.

For this kind of URL, we simply extract username and password and send ajax request with Basic Auth.

Merge request reports