# Setting up forward auth with Caddy and Pocket ID

DevFeed: [Setting up forward auth with Caddy and Pocket ID](<https://devfeed.tech/articles/setting-up-forward-auth-with-caddy-and-pocket-id-38556.md>)

Original publisher: [Read original article](<https://msfjarvis.dev/posts/setting-up-forward-auth-with-caddy-and-pocket-id/>)

Author: Harsh Shandilya

Published: 2026-03-21T10:03:00Z

Content type: tutorial

Language: en

Sources: [Posts on Harsh Shandilya](<https://devfeed.tech/sources/posts-on-harsh-shandilya.md>)

Topics: [Authentication](<https://devfeed.tech/topics/authentication.md>), [OpenID connect (OIDC)](<https://devfeed.tech/topics/oidc.md>), [Single sign-on (SSO)](<https://devfeed.tech/topics/sso.md>), [configuration](<https://devfeed.tech/topics/configuration.md>), [Security](<https://devfeed.tech/topics/security.md>), [Routing (disambiguation)](<https://devfeed.tech/topics/routing.md>), [Deployment](<https://devfeed.tech/topics/deployment.md>)

Tags: [auth](<https://devfeed.tech/tags/auth.md>), [authentication](<https://devfeed.tech/tags/authentication.md>), [caddy](<https://devfeed.tech/tags/caddy.md>), [configuration](<https://devfeed.tech/tags/configuration.md>), [deployment](<https://devfeed.tech/tags/deployment.md>), [forward-auth](<https://devfeed.tech/tags/forward-auth.md>), [nixos](<https://devfeed.tech/tags/nixos.md>), [oidc](<https://devfeed.tech/tags/oidc.md>), [pocket-id](<https://devfeed.tech/tags/pocket-id.md>), [reverse-proxy](<https://devfeed.tech/tags/reverse-proxy.md>), [routing](<https://devfeed.tech/tags/routing.md>), [security](<https://devfeed.tech/tags/security.md>), [sso](<https://devfeed.tech/tags/sso.md>)

## AI overview

A practical guide to configuring forward authentication with Caddy, Pocket ID, and OIDC, including service-specific authentication portals and deployment details for NixOS. It also notes regressions in caddy-security and the author's planned move to Authelia and LLDAP.

## Source excerpt

Using Pocket ID to secure services being proxied by Caddy