From Alexey.Valkov at knauf.com Tue May 16 10:36:41 2023 Content-Type: multipart/mixed; boundary="===============6424133837433482339==" MIME-Version: 1.0 From: Valkov, Alexey To: users at ovirt.org Subject: [ovirt-users] Re: Basic authentication to Rest api not working 4.5.4 Date: Tue, 16 May 2023 10:36:32 +0000 Message-ID: < > In-Reply-To: 20230516101452.27187.67368@mail.ovirt.org --===============6424133837433482339== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Hi, I faced the same problem after upgrade to 4.5. Basic authentication is deprecated - https://www.ovirt.org/documentation/do= c-REST_API_Guide/#basic-authentication And it seems like it was removed in 4.5 Use oauth. -- = Regards Alexei -----Original Message----- From: kishorekumar.goli(a)gmail.com = Sent: Tuesday, May 16, 2023 1:15 PM To: users(a)ovirt.org Subject: [ovirt-users] Basic authentication to Rest api not working 4.5.4 Caution: This is an external email. Be cautious with clicking links or open= ing attachments. If you see this message as an email from an internal emplo= yee, it is a phishing scam. Please report the phishing scam to soc(a)knauf.= com and then delete it. We are facing issue while using basic authentication . We get 401 unauthorized error . It was working in previous versions. parameters used: curl -vvk -u "admin:admin" -H "Content-type: application/xml" -X GET https:= ///ovirt-engine/api/hosts/ 401 Unauthorized

Unauthorized

This server could not verify that you are authorized to access t= he document requested. Either you supplied the wrong credentials (e.g., ba= d password), or your browser doesn't understand how to supply the credentia= ls required.

_______________________________________________ Users mailing list -- users(a)ovirt.org To unsubscribe send an email to users-leave(a)ovirt.org Privacy Statement: = https://www.ovirt.org/privacy-policy.html oVirt Code of Conduct: https://www.ovirt.org/community/about/community-guid= elines/ List Archives: https://lists.ovirt.org/archives/list/users(a)ovirt.org/mess= age/XYUMM2H4LGDUAL4RFRQ73Y7NQP44PIV4/ --===============6424133837433482339==--