-
-
Notifications
You must be signed in to change notification settings - Fork 28
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
AntennaPod with Basic Auth not working #1169
Comments
Oh that sounds like a bug. Thanks for the extensive testing. But so far I am not quite sure how this happened. It is definetely the intention that admin users can see gpodder podcasts of other users in the settings menu. The use case is that they could then add the missing podcast on podfetch itself. Where do you try to playback the podcast? And when does this missing query parameter appear? When playing back on the phone? |
Thank you for the quick response. I see. Yes, the admin user could add the podcast and it appears in both admin and non-admin user's dashboard through the web interface. |
Could you try again by updating to the latest version? I refactored some code. |
Hi, the latest builds from ~2 hours ago are not working at all and just return 404s for BR |
That is fixed. Sorry for the oversight. |
Have tried again with clean DB. Now I don't see the gpodder podcasts from either admin or non-admin accounts. The sync in AntennaPod appears to have worked. Also have this error in the container:
|
Seems like you use the old podfetch. I updated yesterday to axum. Try to pull the latest version. Maybe I fixed the error. |
Looks like my k8s didn't want to pull the latest image for some reason. I've retried, forcing it to this one: Now I just have an error that my user isn't an admin, even though I have created from CLI and specified admin. After creating admin user I have this in console:
This happened previously, but the other times it seemed I was still able to login as admin user. |
Okay. Normally everything should work as expected. But could be that I didn't pay attention to an edge case. Could you please show the complete stack trace? |
|
So authentication fails because the password is wrong. Are you sure you entered the password correctly? It looks like this is not related to GPodder. This authentication is only done when logging into PodFetch |
Haha, ok, I will retry and double-check. Seems like odd behaviour to allow access to the UI after failing auth, but yeah, this is unrelated to the gpodder stuff. |
Just retried with copy-paste pw at each point. It's definitely correct, so not sure why failing. I'll play around a bit more and see if I can figure out how to get back past this point. |
Oh I found the error. It's fixed in the latest version. You can now login back with the admin accoun in the ui |
Amazing! Thank you! I'm now able to login in. Also able to sync from AntennaPod to non-admin account and playback from the browser. I wasn't able to create an invite link, but user creation on CLI worked. Also had to add my subscription from the admin account in order to see it in the non-admin account. But this is all good enough for my uses. Thanks again. Time to get stuck into some podcasts. |
Awesome. Enjoy your podcast session. If you stumble upon an error or a feature you'd like just open an issue |
Describe the bug
Hello,
I've been trying for the past few days to get AntennaPod to sync using Basic Auth. I'm running from this container image:
samuel19982/podfetch:v4.8.0
. Using a postgres database and taking the following steps:root
)matt
)Now if I login to the UI from a browser as
matt
, I see no sign of anything. I would expect, at this point, to be able to see my subscription and playback history. Perhaps I have misunderstood what the system is capable of?What seems even weirder is that if I login as
root
, I'm able to see the podcast subscription created by thematt
user, under Settings -> Manage GPodder Podcasts. I'm then able to add this and observe the subscription from thematt
user's account. However playback is not working and the server is logging this error:I have tried many combinations of env vars in an effort to make this work but none have been successful so far. I have also tried creating users in a different order and tried setting
BASIC_AUTH_USER
toroot
andmatt
, but neither of those resulted in success.Am I doing it wrong or this is a bug?
If I'm doing it wrong, is it possible to document somewhere the exact happy path to make this working.
Many thanks,
Matt
Reproduction
See above
System Info
Used Package Manager
npm
Validations
The text was updated successfully, but these errors were encountered: