navidrome sso with traefik/authentik
from immobile7801@piefed.social to selfhosted@lemmy.world on 21 Nov 02:28
https://piefed.social/c/selfhosted/p/1496740/navidrome-sso-with-traefik-authentik

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.

#selfhosted

threaded - newest

Jakeroxs@sh.itjust.works on 21 Nov 02:54 next collapse

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?

immobile7801@piefed.social on 21 Nov 02:58 collapse

Thanks, I will look into this

starshipwinepineapple@programming.dev on 21 Nov 04:24 next collapse

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

clmbmb@lemmy.dbzer0.com on 21 Nov 05:34 next collapse

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
gezero@lemmy.bowyerhub.uk on 21 Nov 06:03 collapse

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).

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