mirror of
https://github.com/fosrl/pangolin.git
synced 2026-05-07 21:30:36 -05:00
[GH-ISSUE #1604] SSO auth not forwarding headers #1959
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @proofrock on GitHub (Oct 2, 2025).
Original GitHub issue: https://github.com/fosrl/pangolin/issues/1604
Describe the Bug
Hello!
first of all, thanks for a great tool. I have Pangolin with a few SSO-protected services. The problem is that if I "sniff" the request after SSO login, it doesn't contain the headers stated in the docs.
traefik/whiamigives:I am not using a bypass rule; only "Use platform SSO" is active. This happens both with the integrated auth (Badger?) and with PocketID; I know for sure that PocketID gives those information because (FWIW) until yesterday I used Cloudflare with the same pocketID, and it transmitted the headers (albeit different ones).
I have modified Traefik config to enable geoblock and rate limiting, but it shouldn't be related.
Thanks!
Environment
To Reproduce
I just created a SSO-protected Resource that points to
traefik/whoamiand tested.Expected Behavior
The one described here: https://docs.digpangolin.com/manage/access-control/forwarded-headers#supported-headers
@github-actions[bot] commented on GitHub (Oct 17, 2025):
This issue has been automatically marked as stale due to 14 days of inactivity. It will be closed in 14 days if no further activity occurs.
@v1rusnl commented on GitHub (Oct 26, 2025):
Possibly related?
https://github.com/orgs/fosrl/discussions/1502
I am also having a hard time using headers lately. Whoami shows the passed headers, but it does not work on other ressources.
Currently testing for the author of https://github.com/JellyWatchteam/JellyWatch to implement custom header support in the new Embywatch app, but using the headers when generating shareable links are also failing.
The thing is, it definitely worked in the past because I set up headers generated via shareable links for another application connected to openwebui, but at some point it stopped working.
@sippeangelo commented on GitHub (Oct 31, 2025):
If anyone else finds this issue wondering why their auth headers are missing:
The feature was added in Badger v1.2.0. Badger is a Traefik plugin, so you must edit your Traefik config to update it.
I'm using Docker Compose to manage Pangolin, so I assumed a
docker compose pullwould update the whole stack. Unfortunately Badger needs to have its version number updated manually in the Traefik config. I'm not sure if there's a way to do the equivalent of a "latest" tag in Traefik. There's next to no documentation on the plugin system...@v1rusnl commented on GitHub (Oct 31, 2025):
Badger version itself is not the culprit at least on my side. Running 1.2.0 since June.
@proofrock commented on GitHub (Oct 31, 2025):
Oh! Ok. It's not a problem for me to update badger, but is it documented somewhere? I'd say that once installed it gets obsolete very quickly, and this is not good for a number of reasons.
@proofrock commented on GitHub (Oct 31, 2025):
🤕 ouch
@sippeangelo commented on GitHub (Oct 31, 2025):
I tried to at least move it out into my Docker Compose file by configuring it through either Traefik command line arguments or environment variables, so it's easier to maintain. But it seems that Traefik completely ignores both those options, which is mildly infuriating.
I tried both
--experimental.plugins.badger.moduleName=github.com/fosrl/badger --experimental.plugins.badger.version=v1.2.0and settingTRAEFIK_EXPERIMENTAL_PLUGINS_BADGER_MODULENAME=github.com/fosrl/badger TRAEFIK_EXPERIMENTAL_PLUGINS_BADGER_VERSION=v1.2.0. Neither worked 🙄The only option seems to be to generate
traefik_config.ymlthrough Jina templates or something, but I can't be bothered.@proofrock commented on GitHub (Oct 31, 2025):
Thanks @sippeangelo! It solved for me, anyways. I can see
Remote-EmailandRemote-User. Let's see if @v1rusnl can retry and confirm.I meant: it's not a problem to do it manually. I devised an "update procedure" that I follow once a week: see the latest versions of traefik/pangolin/gerbil (I don't trust
latest), and update manually. I'll just add badger to the checklist.But I think it's not evident from the documentation that badger should be updated this way. It's pretty important, so it should be noted somewhere. If I am not missing something.
@github-actions[bot] commented on GitHub (Nov 17, 2025):
This issue has been automatically marked as stale due to 14 days of inactivity. It will be closed in 14 days if no further activity occurs.
@github-actions[bot] commented on GitHub (Dec 1, 2025):
This issue has been automatically closed due to inactivity. If you believe this is still relevant, please open a new issue with up-to-date information.