Replies: 2 comments 3 replies
-
I didnt know healthchecks.io but this is a very cool thing with this REMOTE_USER_HEADER. |
Beta Was this translation helpful? Give feedback.
-
Oh, I need to add a follow-up question you can maybe help with. I realized this, when I was trying to put another app behind traefik-oidc-auth + pocket-id using headers. => https://github.com/janeczku/calibre-web/wiki/Setup-Reverse-Proxy I realized that logging in works fine but when logging out of an app, one is still logged in at the IDP, in my case pocket-id. That link, has a sample solution to also log out simultaneously from your IDP, but their example is centred on authelia. Do you have any idea how one could do that with pocket-id? IF not, I will ask the same question on pocket-id's project page. Sample for authelia:
|
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Btw. awesome plugin, I have managed to protect a few apps without their own authentication and am now attempting to get SSO kinda working via headers.
So first of all, traefik-oidc-auth + pocket-id are working fine and so is healthecks on its own. I need some hand-holding with the headers :-)
So healthchecks docs: https://healthchecks.io/docs/self_hosted_configuration/#REMOTE_USER_HEADER state:
So in the docker-compose.yml file of healthchecks I specified:
REMOTE_USER_HEADER=HTTP_X_Forwarded_Email
Then I tried adding the right header configuration via traefik-oidc-auth. Like this:
What happens is that if I visit my healthchecks instance, I get asked to sign in via pocket-id and still end up on the login page of healthchecks.
Any hints for me please?
EDIT:
Figured it out. It was as simple as using ALL CAPS as instructed :-( I am leaving this here in case someone else googles the same thing. Feel free to use this as an example if you find it useful.
REMOTE_USER_HEADER=HTTP_X_FORWARDED_EMAIL
and
- Name: "X-FORWARDED-EMAIL"
needed to be in CAPS
Btw. I was inspired by this thread: #55 and this one pocket-id/pocket-id#228
Beta Was this translation helpful? Give feedback.
All reactions