Commit 0be2065d authored by Alain Takoudjou's avatar Alain Takoudjou Committed by Rafael Monnerat

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 nexedi/slapos.core!163
parent b8c1ca76
Pipeline #7008 failed with stage
in 0 seconds