5d6b0642db
This adds a new verifier interface that can be attached to ingress.Rule. This would act as a middleware layer that gets executed at the start of proxy.ProxyHTTP. A jwt validator implementation for this verifier is also provided. The validator downloads the public key from the access teams endpoint and uses it to verify the JWT sent to cloudflared with the audtag (clientID) information provided in the config. |
||
---|---|---|
.. | ||
jwtvalidator.go | ||
jwtvalidator_test.go | ||
middleware.go | ||
verifier.go |