AntennaPod authentication

I am trying to create a new gpodder server that people can selfhost. I currently test my server with AntennaPod. Login works but as soon as I go to the create device screen AntennaPod doesn’t seem to send any authentication headers. How does the authentication work in AntennaPod?

Android version: 9.1 (Please mention if you are using a custom rom!)

Device model:Huawei P smart

Expected behaviour: Create device

Current behaviour: No authentication header or sessionid is found in the request.

Steps to reproduce:

  1. Start the server according to the docs
  2. Add a user to the database. The password needs to be SHA256 encoded
  3. Open AntennaPod->Settings->Synchronisation->Select GPodder->Enter http://IP of computer:8000
  4. Login and add device.

Authentication is performed with login.json, from then on everything works with cookies. See Authentication API — documentation

1 Like

Thanks for the help. I had to set other things to the cookie like secure or the path. A “good” cookie looks like this sessionid=8f2d7c8e-ade1-410f-a5a2-c45229291b90; HttpOnly; SameSite=Strict; Path=/api