You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi, I'm going to close this one as I'm going to try doing it a different way with the traefik forward-auth (plugin), rather than using Tinyauth for forward-auth (to Pocket ID).
The tinyauth annotations don't belong in Kubernetes, you would just create a separate middleware for each different client app in Pocket ID and manage the groups in Pocket.
Once again, thanks for such a great product. Cheers!
The issue in your config was the forward auth address. You should not use the domain there, the connection must be internal. This is because Traefik will not trust the headers and overwrite them with the ones from the domain of Tinyauth resulting in the redirect URI pointing to Tinyauth itself. By using an internal connection (HTTP is not an issue since it's internal), you can ensure Tinyauth receives the correct headers.
The tinyauth annotations don't belong in Kubernetes, you would just create a separate middleware for each different client app in Pocket ID and manage the groups in Pocket.
Not sure what you mean by this. Tinyauth wasn't really designed for Kubernetes but I am open for suggestions on how to improve support.
Thanks for the reply, much appreciated!... Mainly, I was looking for a way to do proxy auth for services that had no inbuilt authentication, per: https://pocket-id.org/docs/guides/proxy-services.
I started with TinyAuth, and then tried other options. Cheers!
@paulhanssen I believe I was trying to do the same but my understanding is that Tinyauth access control via labels such as tinyauth.apps.[app].oauth.groups are only supported in docker or dockerlike environments and not in Kubernetes. Therefore, if running in Kubernetes with Pocket ID, authorization is not possible with Tinyauth + Kubernetes. I'm assuming this since in order to work Tinyauth requires you to mount the Docker socket and in K8S that's not possible always, I tried creating a Roel and Service Account and everything but it looks like Tinyauth just doesn't know how to read label in Kubernetes.
The closes I could get was setting env variables such as OAUTH_WHITELIST but the outcome is the same as assigning or not assigning the group that has the Tinyauth OIDC app integrated in Pocket ID, so why bother.
I believe I will try going through your route of setting <pocket-id> <--> <traefik> and use Tinyauth for general server authentication and that's it until it supports Kubernetes access control via labels.
EDIT:
I'm working on adding label support for k8s #627
Activity
paulhanssen commentedon Nov 25, 2025
Hi, I'm going to close this one as I'm going to try doing it a different way with the traefik forward-auth (plugin), rather than using Tinyauth for forward-auth (to Pocket ID).
The tinyauth annotations don't belong in Kubernetes, you would just create a separate middleware for each different client app in Pocket ID and manage the groups in Pocket.
Once again, thanks for such a great product. Cheers!
steveiliop56 commentedon Nov 25, 2025
The issue in your config was the forward auth address. You should not use the domain there, the connection must be internal. This is because Traefik will not trust the headers and overwrite them with the ones from the domain of Tinyauth resulting in the redirect URI pointing to Tinyauth itself. By using an internal connection (HTTP is not an issue since it's internal), you can ensure Tinyauth receives the correct headers.
Not sure what you mean by this. Tinyauth wasn't really designed for Kubernetes but I am open for suggestions on how to improve support.
paulhanssen commentedon Nov 28, 2025
Thanks for the reply, much appreciated!... Mainly, I was looking for a way to do proxy auth for services that had no inbuilt authentication, per: https://pocket-id.org/docs/guides/proxy-services.
I started with TinyAuth, and then tried other options. Cheers!
contre95 commentedon Feb 4, 2026
@paulhanssen I believe I was trying to do the same but my understanding is that Tinyauth access control via labels such as
tinyauth.apps.[app].oauth.groupsare only supported in docker or dockerlike environments and not in Kubernetes. Therefore, if running in Kubernetes with Pocket ID, authorization is not possible with Tinyauth + Kubernetes. I'm assuming this since in order to work Tinyauth requires you to mount the Docker socket and in K8S that's not possible always, I tried creating a Roel and Service Account and everything but it looks like Tinyauth just doesn't know how to read label in Kubernetes.The closes I could get was setting env variables such as
OAUTH_WHITELISTbut the outcome is the same as assigning or not assigning the group that has the Tinyauth OIDC app integrated in Pocket ID, so why bother.I believe I will try going through your route of setting
<pocket-id> <--> <traefik>and use Tinyauth for general server authentication and that's it until it supports Kubernetes access control via labels.EDIT:
I'm working on adding label support for k8s #627