You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The new backend auth is pretty useful to block access to a website that doesn't provide any out of the box authentication. It would be even more useful if there was a way to write the authenticated user to a header so that the application could identify the user.
It would be great to use this sort of proxy auth with services like Gogs or Grafana that support allowing your proxy to authenticate for you and then pass the identity across.
Some web applications provide the ability to authorize users based on
the authenticated from Basic Auth. This patch provides a way to set a
key to which the authenticated user can be set in the Header.
For example, if I set `HeaderValue = "X-WebAuth-User"` and authenticate,
my application will be able to read my user name from that header and
provide me with the proper access.
This fixestraefik#802
* Add ability to set authenticated user in request header
Some web applications provide the ability to authorize users based on
the authenticated from Basic Auth. This patch provides a way to set a
key to which the authenticated user can be set in the Header.
For example, if I set `HeaderValue = "X-WebAuth-User"` and authenticate,
my application will be able to read my user name from that header and
provide me with the proper access.
This fixes#802
The new backend auth is pretty useful to block access to a website that doesn't provide any out of the box authentication. It would be even more useful if there was a way to write the authenticated user to a header so that the application could identify the user.
It would be great to use this sort of proxy auth with services like Gogs or Grafana that support allowing your proxy to authenticate for you and then pass the identity across.
I can take a crack at it myself, but could use some pointing in the right direction. Is this the right direction? https://blog.raintank.io/authproxy-howto-use-external-authentication-handlers-with-grafana/
The text was updated successfully, but these errors were encountered: