Re: auth_request not passing query string

2021-05-12 Thread Francis Daly
On Wed, May 12, 2021 at 09:55:15AM -0400, rsavignon wrote: Hi there, > i could reproduce it and it works as expected. For the sake of logging i > replaced validate with my own validate block and the issue persist. the > validate server log output: > > {"connection":"upgrade","host":"localhost","

Re: auth_request not passing query string

2021-05-12 Thread rsavignon
Hi, i could reproduce it and it works as expected. For the sake of logging i replaced validate with my own validate block and the issue persist. the validate server log output: {"connection":"upgrade","host":"localhost","x-original-uri":"/validate","user-agent":"curl/7.68.0","accept":"*/*"} The t

Re: auth_request not passing query string

2021-05-11 Thread Francis Daly
On Tue, May 11, 2021 at 07:05:55PM -0400, rsavignon wrote: Hi there, > thanks for the fast reply. At auth server, the value of "X-Original-URI" > header is only "/validate". But should be "/validate?token=" > as all request for a static file pass a token query param to the file server > (https:/

Re: auth_request not passing query string

2021-05-11 Thread rsavignon
Hi Francis, thanks for the fast reply. At auth server, the value of "X-Original-URI" header is only "/validate". But should be "/validate?token=" as all request for a static file pass a token query param to the file server (https://files.mysite.com/myvideo.mp4?token=). Cheers, Rafael. Posted at

Re: auth_request not passing query string

2021-05-11 Thread Francis Daly
On Tue, May 11, 2021 at 04:17:24PM -0400, rsavignon wrote: Hi there, > Hi All, i'm trying to configure a auth based static files server using > nginx, but its not working because, i suppose, the $request_uri is not being > forwarded to the auth endpoint. Does auth_request support relaying > $requ