Skip to content

Authentication via Authelia hanging on Login #1479

@TheBToby

Description

@TheBToby

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

  • Follow our Code of Conduct
  • Read the Contributing Guide.
  • Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.
  • Check that this is a concrete bug. For Q&A, please open a GitHub Discussion instead.
  • The provided reproduction is a minimal reproducible of the bug.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions