mirror of
https://github.com/pocket-id/pocket-id.git
synced 2025-12-06 09:13:19 +03:00
🚀 Feature: Add support of ForwardAuth #341
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 @im2R on GitHub.
Feature description
Implementation of ForwardAuth to protect applications not supporting OIDC through reverse proxies
Pitch
Hi,
I use Traefik as a reverse proxy to expose Docker containerized services to the internet. For securing access to these applications, I currently use Authelia, which supports forward authentication. This allows me to protect services that don't natively support OIDC using Traefik's ForwardAuth middleware.
I request that Pocket ID implements support for forward authentication, this would allow seamless integration with Traefik (or other reverse proxies) and provide a more native and well-integrated solution compared to alternatives like traefik-oidc-auth or oauth2-proxy.
Use Case Example
With Authelia, I can set up forward authentication using the following Traefik labels:
For the authentication service:
For the protected applications:
Thanks!
@stonith404 commented on GitHub:
As Pocket ID is solely an OIDC provider I don't think this makes sense to directly implement this into Pocket ID. I understand that it might be not the ideal solution to use non native solution like oauth2-proxy but the goal of Pocket ID is to stay simple.