Re: newbie question

2016-10-12 Thread Alex Samad
Hi Thanks I ended up with this but still with issues map $cookie_SSOID $ssoid_cookie { default ""; ~SSOID=(?P.+) $ssoid; } location /imaadmin/ { proxy_cache off; proxy_pass http://IMAAdmin; auth_request /sso/validate; # must use %20 for url encoding set $sso_group "

Re: newbie question

2016-10-12 Thread Maxim Dounin
Hello! On Wed, Oct 12, 2016 at 12:43:12PM +1100, Alex Samad wrote: > Hi > > I am trying to create a dynamic auth address > > > # grab ssoid > map $cookie_SSOID $ssoid_cookie { > default ""; > ~SSOID=(?P.+) $ssoid; > } > > >location /imaadmin/ { > proxy_cache off; >

newbie question

2016-10-11 Thread Alex Samad
Hi I am trying to create a dynamic auth address # grab ssoid map $cookie_SSOID $ssoid_cookie { default ""; ~SSOID=(?P.+) $ssoid; } location /imaadmin/ { proxy_cache off; proxy_pass http://IMAAdmin; auth_request /sso/validate?SSOID=$ssoid_cookie&a=imaadmin;