百科.dev
全部条目在线工具AI 编程趋势榜开源项目技术资讯提交条目
登录
< 返回工具列表
T

traefik-oidc-auth

> 安全
开源

一个 traefik 插件,用于通过 OpenID Connect 作为可信方来保护上游服务。

398 stars0 点赞1 次浏览
访问官网GitHub

工具介绍

一个 traefik 插件,用于通过 OpenID Connect 作为可信方来保护上游服务。

Traefik OpenID Connect Middleware

A traefik Plugin for securing the upstream service with OpenID Connect acting as a relying party.

[!NOTE] This document always represents the latest version, which may not have been released yet. Therefore, some features may not be available currently but will be available soon. You can use the GIT-Tags to check individual versions.

[!WARNING] This middleware is under active development and breaking changes may occur. It is only tested against traefik v3+.

Tested Providers

Provider Status Notes
ZITADEL ✅
Kanidm ✅ See GH-12
Keycloak ✅
Microsoft EntraID ✅
HashiCorp Vault ❌ See GH-13
Authentik ✅
Pocket ID ✅
GitHub ❌ GitHub doesn't seem to support OIDC, only plain OAuth.
Logto ✅

Documentation

Please see the full documentation HERE.

[!NOTE] The documentation is being built from the production branch, representing the latest released version. If you want to check the documentation of the main branch to see whats comming in the next version, see here.

Local Development and Testing

This project uses a Taskfile for easy access to commonly used tasks. You need to install the Taskfile CLI by following the official documentation. You also need Docker installed on your machine.

You can then run the following command to list all available tasks:

task --list

The easiest way to get started is to run the plugin with Keycloak because this repo comes with a pre-configured instance. Just do:

  1. Run task run:keycloak and wait a moment for everything to be settled
  2. Open a web browser and navigate to http://localhost:9080
  3. You will be redirected to Keycloak's login page. Log in with user admin and password admin.

If you want to start the plugin with your own identity provider, create the following .env file in workspaces/external-idp:

PROVIDER_URL=...
CLIENT_ID=...
CLIENT_SECRET=...
VALIDATE_AUDIENCE=true

And then do:

  1. Run task run:external
  2. Open a web browser and navigate to http://localhost:9080
  3. You will be redirected to your own identity provider

If you want to play around with the plugin config, modify the file workspaces/configs/http.yml. Changes will be reloaded automatically and you should see some debug output in the container logs.

☕ Support

I put a lot of ❤️ and effort into this project. PRs are very welcome and together we can make this a great free alternative to the enterprise OIDC plugin . Every contribution helps me to improve it, fix bugs and develop new features.
Please also dont forget to ★ the repo.
If you'd like to make a small donation, I'd be very grateful. Just click the button below.
Thank You!

Issues· 20 开放

查看全部 Issues在 GitHub 打开

暂无开放 Issues,或尚未同步最近议题。

> 标签

Gooidcoidc-authoidc-authenticationtraefik-plugin

暂无评论,来聊聊你的看法吧

> 工具信息

发布日期2026年8月1日
最后更新2026年9月17日
分类安全
定价开源

> 相关工具

O
OWASP ZAP
开源 Web 应用安全扫描器
O
owasp-wstg-tracker
Simple web app to track OWASP WSTG security testing progress
H
homebridge-mi-gateway-security
XiaoMi Gateway Security plugin for HomeBridge.