Has anyone gotten navidrome mobile apps to work with traefik and authentik sso? I used this article to get the webapp sso to work, but mobile apps won’t work even with the /rest path supposedly being bypassed. the traefik config was copied/modified for my setup, so I think the article is still missing something.

I’ve tried a couple navidrome apps: dsub, tempo, tempus.

  • gezero@lemmy.bowyerhub.uk
    link
    fedilink
    English
    arrow-up
    3
    ·
    edit-2
    20 hours ago

    In the end, when I was setting it up, I realized that the only apps I use to connect and listen are using the rest API and I never got that one to work when I was setting it up. I had to bypass rest API endpoints like other poster here and create internal users in navidrome to keep some kind of security.

    I would love someone posting up to date guide how to do it properly.

    In the end problem was with the Subsonic Api and and the fact that I did not know how to implement subsonic authentication scheme on my proxy (caddy).

    https://www.navidrome.org/docs/usage/reverse-proxy/

  • starshipwinepineapple@programming.dev
    link
    fedilink
    English
    arrow-up
    4
    ·
    edit-2
    14 hours ago

    I have mine only internal so i haven’t ran into that. But check console. You mention mobile so if you’re on android you can hook it up to your pc and use debugging through chrome.. In the past I’ve had success looking at error messages to see why my requests were failing. Usually because i wasn’t passing headers correctly.

    I use symfonium and it looks like it let’s you pass custom headers if needed. Good luck

  • calm.like.a.bomb@lemmy.dbzer0.com
    link
    fedilink
    English
    arrow-up
    3
    ·
    21 hours ago

    Here’s my config for Authelia, maybe it helps:

        - domain: music.server.home
          policy: bypass
          resources:
            - '^/rest.*'
            - '^/api.*'
        - domain: music.server.home
          policy: one_factor
    
  • Jakeroxs@sh.itjust.works
    link
    fedilink
    English
    arrow-up
    4
    ·
    24 hours ago

    I am not sure how it works with authentik and the navidrome mobile apps, but I with Authelia and Immich, I basically had to add a header bypass to the traefik config and in the immich mobile app, maybe something similar is possible?