Traefik middleware authentication bouncer for Pangolin
Find a file
2025-04-06 11:24:47 -04:00
.gitignore rename to badger 2024-09-29 11:45:41 -04:00
.go-version add .go-version 2025-03-03 22:34:59 -05:00
.traefik.yml remove explicit access token check and pass query params and headers in verify session 2025-04-06 11:24:47 -04:00
go.mod write readme and add license 2024-12-26 12:40:52 -05:00
LICENSE write readme and add license 2024-12-26 12:40:52 -05:00
main.go remove explicit access token check and pass query params and headers in verify session 2025-04-06 11:24:47 -04:00
README.md remove explicit access token check and pass query params and headers in verify session 2025-04-06 11:24:47 -04:00
SECURITY.md add security policy 2025-01-08 21:36:49 -05:00

Badger Plugin for Traefik with Pangolin Integration

Badger is a middleware plugin designed to work with the Traefik reverse proxy in conjunction with Pangolin, a multi-tenant tunneled reverse proxy server and management interface with identity and access management. Badger acts as an authentication bouncer, ensuring only authenticated and authorized requests are allowed through the proxy.

This plugin is required to be configured alongside Pangolin to enforce secure authentication and session management.

Installation

Learn how to set up Pangolin and Badger in the Pangolin Documentation.

Configuration

Badger requires the following configuration parameters to be specified in your Traefik configuration file. These coincide with the separate Pangolin configuration file.

Configuration Options

apiBaseUrl: "http://localhost:3001/api/v1"
userSessionCookieName: "p_session_token"
resourceSessionRequestParam: "p_session_request"

License

This project is licensed under the MIT License - see the LICENSE file for details.