Replies: 5 comments
-
|
OK, since 1.11.0 I see Header authentication via username:password for ressources. |
Beta Was this translation helpful? Give feedback.
-
|
Hi! Not 100% sure why emby would not be authenticating using the headers
but it sounds like if they are present it would be related to emby. The
resource headers add them to each request to the downstream target so it
should work if just having those headers present would allow it to auth
using the existing implementation.
You could try temporarily pointing your target to the
https://hub.docker.com/r/containous/whoami image and report back with
the output to make sure the headers are there. Maybe there is a bug
going on!
|
Beta Was this translation helpful? Give feedback.
-
|
Whoami as a test reports the headers correctly. These are the Custom Headers set up in Pangolin Dashboard Ressource Proxy Settings: This is the traefik log for the Emby App when connecting to the Emby Server over Pangolin/Newt: It's the only logline because with /emby/system/info/public Emby App determines the availability of the server before doing any further requests it seems. I also don't see any request reaching emby when examining the Emby logfiles of that time. As a cross test, I checked via browser on same device: In Browser I can proceed since there I am able to use the Pangolin SSO Auth screen, unlike inside the Emby App. Shouldn't the Custom Headers be in the log? I had hoped that when I set up the Custom Headers, the app could bypass the SSO authentication so I can deactivate the path rules. |
Beta Was this translation helpful? Give feedback.
-
|
Hi everyone, I've implemented support for custom headers in my application. When I test using mitmproxy, I can clearly see that the headers are being sent correctly. Even though the headers are there, the response I get is still in JSON format. Is there something I'm missing, or a specific configuration needed to make custom headers work with external services? Thanks in advance for your help! |
Beta Was this translation helpful? Give feedback.
-
|
@JellyWatchteam and me were trying to authenticate with the Embywatch app to a service behind Pangolin. The Headers were P-Access-Token-Id and P-Access-Token generated via the shareable links function. But not even that works lately. It did in the past for sure. Possibly related? #1604 |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Since @hhftechnology 's request seems to be fullfilled now (Issue #1446), I'm asking myself how to use it specifically to authenticate the Emby for Android App on my Emby Server.
I've set up Custom Headers for my Emby Ressource in the following format and expected that I don't need to set path rules now since these Headers authenticate my Android device for the Emby ressource in Pangolin and Emby.
But it does not work. I don't see any loglines in Emby when I try to connect the App and it cannot reach the server. When checking the traefik logs Pangolin simply appends the Headers to the redirect URL.
Am I missing something or do I just don't understand the whole concept of this?
Beta Was this translation helpful? Give feedback.
All reactions