Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
fangguangyang authored Aug 30, 2023
1 parent d793555 commit 93cf0f3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,14 +14,14 @@ I have merged several pull requests that have not (yet?) been merged upstream:
- https://github.com/thomseddon/traefik-forward-auth/pull/295
- https://github.com/thomseddon/traefik-forward-auth/pull/327

I have also updated all the dependencies, and switched to building with Go 1.19.
I have also updated all the dependencies, and switched to building with Go 1.20.
The Dockerfile has been switched from Alpine to using the official Go container for building the binary and a [distroless](https://github.com/GoogleContainerTools/distroless) image for runtime.

I wrote [a blog post](https://jordemort.dev/blog/single-sign-on-with-mastodon/) about how I use this.
Note that I only use the Generic OAuth provider.
I haven't tried using the other providers, but all the tests still pass.

This version now builds against Traefik 2.9, so you should be able to use all of the latest matchers, but `ClientIP` does not appear to be working as you might expect.
This version now builds against Traefik 2.10, so you should be able to use all of the latest matchers, but `ClientIP` does not appear to be working as you might expect.
It seems to be a better bet to match against the `X-Forwarded-For` header.

## Why?
Expand Down

0 comments on commit 93cf0f3

Please sign in to comment.