slapos_web: get json schema with basic authentication if credentials are set in URL
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. /reviewed-on !163
Showing
Please register or sign in to comment