On Mittwoch, 27. Oktober 2021, 11:39:29 CEST Nicolas Formichella wrote:
> Hello,
> I'm encountering an issue regarding access through `curl` and python's `requests` against `build.opensuse.org`
>
> Using `osc` when running
> ```
> osc api /source
> ```
> work with no trouble and lists the projects.
>
> But I didn't got that to work outside of `osc`
>
> Whatever I do regarding basic auth headers (build it myself, let curl/requests do it), I get a error 401 with :
> ```
> <status code="anonymous_user">
> <summary>Anonymous user is not allowed here - please login</summary>
> </status>
> ```
> Full connection log : [1]
>
> Password is known good as it works in `osc` (fails even if I try to get it from GNOME-keyring through `python-keyring`)
>
> What could be my issue?