PodFetch
PodFetch copied to clipboard
Authentication via Authelia hanging on Login
Describe the bug
I followed the configuration of OIDC authentication via Authelia based on this documentation. No error messages are shown, neither on Authelia nor on PodFetch side (both running as a Docker container). However, after authentication via Authelia, PodFetch stays on the login page and does not redirect to the application page.
PodFetch docker-compose:
podfetch:
image: samuel19982/podfetch:latest
container_name: podfetch
hostname: podfetch
user: 0:0
ports:
- "8082:8000"
volumes:
- /mnt/xxx/downloads/Podcasts:/app/podcasts
environment:
- TZ=Europe/Zurich
- POLLING_INTERVAL=300
- SERVER_URL=https://podfetch.xxx.yyy/
- DATABASE_URL=postgresql://postgres:*****@podfetch-db:5432/podfetch
- BASIC_AUTH=false
- OIDC_AUTH=true
- OIDC_AUTHORITY=https://auth.xxx.yyy/
- OIDC_CLIENT_ID=podfetch
- OIDC_REDIRECT_URI=https://podfetch.xxx.yyy/ui/login
- OIDC_SCOPE=openid profile email
- OIDC_JWKS=https://auth.xxx.yyy/jwks.json
- RUST_BACKTRACE=full
- REVERSE_PROXY_AUTO_SIGN_UP=true
depends_on:
- podfetch-db
labels:
"com.centurylinklabs.watchtower.enable": true
Authelia configuration
- client_id: 'podfetch'
client_name: 'PodFetch'
public: true
authorization_policy: 'one_factor'
redirect_uris:
- 'https://podfetch.xxx.yyy/ui/login'
scopes:
- 'openid'
- 'profile'
- 'email'
userinfo_signed_response_alg: 'none'
token_endpoint_auth_method: 'none'
consent_mode: 'implicit'
Reproduction
See configuration
System Info
Proxmox VE 8.4.13, Docker LXC, Portainer 2.33.1, Authelia v4.39.9
Used Package Manager
npm
Validations
- [x] Follow our Code of Conduct
- [x] Read the Contributing Guide.
- [x] Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.
- [x] Check that this is a concrete bug. For Q&A, please open a GitHub Discussion instead.
- [x] The provided reproduction is a minimal reproducible of the bug.
Can you see any errors in PodFetch/authelia/the web console? Do you have the redirect url correctly setup? I am currently reworking the auth system and will release an update tomorrow.
Feel free to retry with the latest image of podfetch