On Wed, Feb 9, 2022, 07:44 Mattia Verga via devel <
devel@lists.fedoraproject.org> wrote:

> So, I've updated review-stats container to run on F34 with
> python-bugzilla 3.2.0, but it still authenticate using
> username+password. Is that enough to avoid authentication errors and
> user ban or I need to change the authentication method?
>

>From what we've seen with Blockerbugs app (
https://pagure.io/fedora-qa/blockerbugs/issue/230 ;
https://pagure.io/fedora-qa/blockerbugs/issue/231 ) , it seems you won't be
able to use username+password at all and bugzilla api key will be the only
api-friendly method of auth. You can give it a shot with testing bugzilla:
https://bugzilla.stage.redhat.com/

The error text that Bugzilla throws back at us when trying to login with
username/pass is:

You have attempted to access the API either using an unsupported method or
> using one or more unsupported parameters. You must use the 'Authorization'
> header to authenticate to the API and you must remove all unsupported
> parameters from the query. The unsupported parameters are: Bugzilla_login,
> Bugzilla_password, Bugzilla_token, Bugzilla_api_key. See
> https://bugzilla.stage.redhat.com/docs/en/html/api/core/v1/general.html#authentication
> for details on using the 'Authorization' header. at
> /usr/share/perl5/vendor_perl/SOAP/Lite.pm line 2855.
_______________________________________________
devel mailing list -- devel@lists.fedoraproject.org
To unsubscribe send an email to devel-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org
Do not reply to spam on the list, report it: 
https://pagure.io/fedora-infrastructure

Reply via email to