Hi, I faced the same problem after upgrade to 4.5. Basic authentication is deprecated - https://www.ovirt.org/documentation/doc-REST_API_Guide/#basic-authentication And it seems like it was removed in 4.5 Use oauth.
-- Regards Alexei -----Original Message----- From: [email protected] <[email protected]> Sent: Tuesday, May 16, 2023 1:15 PM To: [email protected] 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 opening attachments. If you see this message as an email from an internal employee, it is a phishing scam. Please report the phishing scam to [email protected] 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_gui>/ovirt-engine/api/hosts/ <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN"> <html> <head> <title>401 Unauthorized</title> </head> <body> <h1>Unauthorized</h1> <p>This server could not verify that you are authorized to access the document requested. Either you supplied the wrong credentials (e.g., bad password), or your browser doesn't understand how to supply the credentials required.</p> </body> </html> _______________________________________________ Users mailing list -- [email protected] To unsubscribe send an email to [email protected] Privacy Statement: https://www.ovirt.org/privacy-policy.html oVirt Code of Conduct: https://www.ovirt.org/community/about/community-guidelines/ List Archives: https://lists.ovirt.org/archives/list/[email protected]/message/XYUMM2H4LGDUAL4RFRQ73Y7NQP44PIV4/ _______________________________________________ Users mailing list -- [email protected] To unsubscribe send an email to [email protected] Privacy Statement: https://www.ovirt.org/privacy-policy.html oVirt Code of Conduct: https://www.ovirt.org/community/about/community-guidelines/ List Archives: https://lists.ovirt.org/archives/list/[email protected]/message/YOVO53RWLLDU3VJRDHUU3E657SO2PS45/

