swingmusic icon indicating copy to clipboard operation
swingmusic copied to clipboard

Feature Request - Third party authentication via trusted headers or OpenID

Open juliadin opened this issue 9 months ago • 3 comments

Many homelabs these days are employing some form of SSO to host their applications and consolidate their user access. It would be neat to have this in Swing as well.

I had a cursory glance at the code and I am not sure if I am able to comtribute the feature myself but I will try.

What I would love to see would be

  • a possibility to authenticate users externally either via a call to an OIDC provider or via trusted headers from a reverse proxy
  • a possibility to automatically create users in the local DB that are logging in via external means

From glancing at it this shouldn't require too much changes to the local user db if at all. I don't know about the login procedure.

juliadin avatar Mar 25 '25 13:03 juliadin

This is the documentation for how navidrome does it. They maintain the local user and password (in their case for subsonic API compatibility)

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

juliadin avatar Mar 25 '25 13:03 juliadin

Yes! This would be great! I am using Authentik for all my apps

Raman236 avatar Mar 28 '25 13:03 Raman236

Hi, I'm also really interested in that feature, but personally I use PocketID as an OIDC provider.

Impre-visible avatar Oct 05 '25 09:10 Impre-visible