https://github.com/hhromic/traefik-fwdauth
Simple Forward Auth service for Traefik (and possibly other compatible proxies), written in Go.
https://github.com/hhromic/traefik-fwdauth
auth docker docker-compose docker-image docker-swarm golang introspection middleware oidc traefik
Last synced: 2 months ago
JSON representation
Simple Forward Auth service for Traefik (and possibly other compatible proxies), written in Go.
- Host: GitHub
- URL: https://github.com/hhromic/traefik-fwdauth
- Owner: hhromic
- License: apache-2.0
- Created: 2022-02-03T16:37:19.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2025-06-17T21:33:42.000Z (about 1 year ago)
- Last Synced: 2025-06-17T22:29:56.032Z (about 1 year ago)
- Topics: auth, docker, docker-compose, docker-image, docker-swarm, golang, introspection, middleware, oidc, traefik
- Language: Go
- Homepage:
- Size: 155 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Traefik Forward Auth Service
Simple [Forward Auth](https://doc.traefik.io/traefik/middlewares/http/forwardauth/) service for
[Traefik](https://github.com/traefik/traefik/) (and possibly other compatible proxies), written in
[Go](https://go.dev/).
This Forward Auth service implements the following features:
* [OAuth2 Token Introspection](https://datatracker.ietf.org/doc/html/rfc7662) validation.
* Introspection endpoint discovery via [OpenID Connect Discovery](https://openid.net/specs/openid-connect-discovery-1_0.html).
## Usage
Usage examples can be found in the [`examples/`](examples/) directory.
## Building
To build a release Docker image, use [Docker Build Bake](https://docs.docker.com/build/bake/):
```
git checkout vX.Y.Z
TAG=vX.Y.Z docker buildx bake
```
> [!NOTE]
> Ready-to-use images are available in the
> [GitHub Container Registry](https://github.com/users/hhromic/packages/container/package/traefik-fwdauth).
To build a snapshot locally Using [GoReleaser](https://goreleaser.com/):
```
goreleaser build --clean --single-target --snapshot
```
## License
This project is licensed under the [Apache License Version 2.0](LICENSE).