juhp / fbrnch

Tool to update fedora packages branches
https://hackage.haskell.org/package/fbrnch
GNU General Public License v2.0
23 stars 3 forks source link

bugzilla authentication doesn't work if you use FAS OpenID #23

Closed troycurtisjr closed 2 years ago

troycurtisjr commented 3 years ago

I tried multiple iterations to authenticate to bugzilla: FAS + FAS Password, FAS + API Key, email + FAS password, email + API Key. Unfortunately none worked. After talking with Jens, it seems this isn't currently implemented. I did successfully use an API Key using the python-bugzilla-cli package, so that seems like a viable alternative which could be implemented.

juhp commented 3 years ago

Sorry about that - thanks for reporting this important issue.

juhp commented 2 years ago

I think we discussed this on irc and you were looking for bugzilla API key login iirc, which I do plan to support but unfortunately I don't have time to do it yet.

I think logging into bugzilla with FAS requires Oauth iiuc, which fbrnch doesn't support yet sadly.

In summary, fbrnch currently only supports traditional login via bugzilla email and bugzilla password.

juhp commented 2 years ago

The coming release should have API key support (which is the only supported API authentication from next month).

juhp commented 2 years ago

I just released fbrnch-1.0.0 which has initial support for bugzilla API key authentication via bugzilla-redhat-1.0.0. It should make it way into Rawhide and Fedora updates this week - would welcome any testing.

juhp commented 2 years ago

I am going to go ahead and close this out since API key authentication is now the only allowed way to access the REST API. 1.0.0 is in updates-testing now btw.