https://bugs.kde.org/show_bug.cgi?id=474562

            Bug ID: 474562
           Summary: Gpodder sync does not work with gpodder2go server
    Classification: Applications
           Product: kasts
           Version: 23.08.1
          Platform: Archlinux
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: general
          Assignee: b...@mogwai.be
          Reporter: gam...@gmx.de
  Target Milestone: ---

SUMMARY
There seems to be a small inconsistency between the implemented gpodder
specification and the specification as specified in
https://gpoddernet.readthedocs.io/en/latest/api/index.html .When I try to use a
gpodder server implementation that uses the official specification I run into
problems because the authentification seems to be handled differently. As a
server implementation I used gpodder2go and successfully synced it with the
Antennapod android app (so the server implementation seems to work). This
specification problem is also mentioned on the gpodder2go readme page
https://github.com/oxtyped/gpodder2go#limitations/

TECHNICAL INFO
When I press the login button on Kasts it sends a request to
"http://someserver/api/2/devices/username.json"; and uses basic http
authentification.
The gpodder v2 api specification seems to describe a different authentification
flow where first a request is made to
"http://someserver/api/2/auth/username/login.json"; which then sets a auth
cookie which is then used for further requests from the client.

STEPS TO REPRODUCE
1. Setup a gpodder2go server and create a user
2. Try to login to the server from kasts

OBSERVED RESULT
Kasts displays error message "Could not log into GPodder server  ; Error Code:
302 ; Error transferring http://someserver/api/2/devices/username.json";

EXPECTED RESULT
Successfull login and sync with the gpodder server.

SOFTWARE/OS VERSIONS
KDE Plasma Version: 5.27.8
KDE Frameworks Version: 5.110.0
Qt Version: 5.15.10

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to