-
-
Notifications
You must be signed in to change notification settings - Fork 4
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: add traefik plugin for request forwarding #73
Conversation
Adds the local traefik auth plugin. The plugin connects to http://maevsi:3000/api/auth-proxy. But there are still problems with CORS and the turnstile headers
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you for the submission!
What do you think of adding the CI pipeline and test from https://github.com/traefik/plugindemo?
Please remove the .DS_Store
file from this PR.
src/development/plugins-local/src/github.com/PatrickMi/body-forward-auth/.traefik.yml
Outdated
Show resolved
Hide resolved
src/development/plugins-local/src/github.com/PatrickMi/body-forward-auth/.traefik.yml
Outdated
Show resolved
Hide resolved
src/development/plugins-local/src/github.com/PatrickMi/body-forward-auth/.traefik.yml
Outdated
Show resolved
Hide resolved
src/development/plugins-local/src/github.com/PatrickMi/body-forward-auth/body_forward_auth.go
Outdated
Show resolved
Hide resolved
src/development/plugins-local/src/github.com/PatrickMi/body-forward-auth/body_forward_auth.go
Outdated
Show resolved
Hide resolved
src/development/plugins-local/src/github.com/PatrickMi/body-forward-auth/body_forward_auth.go
Outdated
Show resolved
Hide resolved
…rward-auth/.traefik.yml Co-authored-by: Jonas Thelemann <e-mail@jonas-thelemann.de>
Good point. I'll have a look to add the test to our pipeline. |
Co-authored-by: Jonas Thelemann <e-mail@jonas-thelemann.de>
moves the traefik plugin to the configurations/traefik folder, moves the instantiation of the httpClient down to where it is used
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM 🚀 can be merged when maevsi/maevsi#1122 is ready!
This reverts commit 8e2e8b7.
Resolves #72