traefik-forward-auth icon indicating copy to clipboard operation
traefik-forward-auth copied to clipboard

On redirect Traefik-forward-auth strips away any existing query-params after successfully authenticating (oauth)

Open leonavevor opened this issue 2 years ago • 0 comments

We have some services that are place behind traefik (proxy) and currently secure by traefik-forward-auth (OIDC) using AzureAD.

After authentication success, On redirect Traefik-forward-auth strips away any existing query-params, which makes it difficult to get to the original target resource that was intended to get to.

Reproducing issue: https://blablabla.com?query1=1&query2=2 ---> redirected to traefik-farward-auth ---> after authentication success ---> https://blablabla.com

Expected behavior: https://blablabla.com?query1=1&query2=2 ---> redirected to traefik-farward-auth ---> after authentication success ---> https://blablabla.com?query1=1&query2=2

Question: is there away currently to set for such behavior to be achieved, if not can this feature be considered in your next release update?

leonavevor avatar Jan 13 '23 12:01 leonavevor