We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3899030 commit 70e3767Copy full SHA for 70e3767
.traefik.yml
@@ -3,5 +3,5 @@ type: middleware
3
import: github.com/assetnote/traefik-vouch-plugin
4
summary: Forward auth with error handling for Vouch Proxy
5
testData:
6
- authAddress: "http://localhost:9090/validate"
7
- signInUrl: "http://localhost:9090/login?url={{.URL}}"
+ authAddress: "http://vouch.x.com/validate"
+ signInUrl: "https://vouch.x.com/login?url={{.URL}}&vouch-failcount={{.FailCount}}&vouch-err={{.Error}}&X-Vouch-Token={{.Token}}"
main.go
@@ -1,4 +1,4 @@
1
-package traefik
+package traefik_vouch_plugin
2
import (
"context"
main_test.go
0 commit comments