How to use when OIDC provider (pocket-id) is behind traefik itself #185
Replies: 2 comments 3 replies
-
Managed to move a bit forward but it is getting to the point where I dont feel very confident about the approach:
Getting a login loop but couldnt fix even after setting the cookie (I can see the logs saying that the named cookie is not present:
Which doesn't seem right. Edit: I am using https for the callback, so this is odd. Edit2: Ah, but I can't use the provider url as I am doing as the services exposes a
|
Beta Was this translation helpful? Give feedback.
-
I remember i also had some issues when setting up PocketID and the plugin. You can check this file: From your error it looks like the plugin isn't able to contact the PocketId to get the discovery document. This is the very first call which happens before anything else. Maybe you can run curl within the container to check if it's reachable? Second thing: |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi,
Was anyone able to have this plugin working when the OIDC provider is behind trafiek itself? I am getting the following error which I believe is b/c
traefik
tries to accesshttp://pocket-id.${HOME_SERVER_BASE_URL}
but it does not have access to it. I am getting a timeout rather than a connection issue which is interesting. I am a bit stuck on this for the past hours and I might revisit this later today. Maybe this is useful for others:Follows my compose files. I own a domain that points to a local address. Therefore
HOME_SERVER_BASE_URL
islocal.my-domain.com
when running locally, that in turn, resolves to my machine's IP address.And:
The issue happens before I face anything to do with the OIDC client as far as I understand. To be clear, I added the client and the callback URL as expected in pocket-id.
Note: considered #133 but this is a proxy for all external requests which is not something I want.
Edit: I might need to change the callback url as well given that the plugin will be instantiated multiple times. Need to read more about that but is unrelated with this.
Beta Was this translation helpful? Give feedback.
All reactions