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 "
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;
>
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;