File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -31,4 +31,4 @@ services:
3131 traefik.http.routers.tinyauth.rule : Host(`tinyauth.dev.local`)
3232 traefik.http.services.tinyauth.loadbalancer.server.port : 3000
3333 traefik.http.middlewares.tinyauth.forwardauth.address : http://tinyauth:3000/api/auth/traefik
34- traefik.http.middlewares.tinyauth.forwardauth.authResponseHeaders : X-Tinyauth -User
34+ traefik.http.middlewares.tinyauth.forwardauth.authResponseHeaders : Remote -User
Original file line number Diff line number Diff line change @@ -29,4 +29,4 @@ services:
2929 traefik.http.routers.tinyauth.rule : Host(`tinyauth.example.com`)
3030 traefik.http.services.tinyauth.loadbalancer.server.port : 3000
3131 traefik.http.middlewares.tinyauth.forwardauth.address : http://tinyauth:3000/api/auth/traefik
32- traefik.http.middlewares.tinyauth.forwardauth.authResponseHeaders : X-Tinyauth -User
32+ traefik.http.middlewares.tinyauth.forwardauth.authResponseHeaders : Remote -User
Original file line number Diff line number Diff line change @@ -237,7 +237,7 @@ func (api *API) SetupRoutes() {
237237 }
238238
239239 // Set the user header
240- c .Header ("X-Tinyauth -User" , userContext .Username )
240+ c .Header ("Remote -User" , userContext .Username )
241241
242242 // The user is allowed to access the app
243243 c .JSON (200 , gin.H {
You can’t perform that action at this time.
0 commit comments