hi I have been trying to implement an single sign-on for graylog so that it automatically logs on using a trusted header from anothersite .
I want to link from another of our sites that uses an openid system.(graylog wants lots of $ for the enterprise version that has this option) I would then trust connections (links) from this site to graylog and map a read only user.
I can map a header using the $http_referer but this wont work as the $http_referer is only set for the first connection after that it changes to graylogs url.
map $http_referer $grayloguser {
default "bla";
"~<referer site>" megavision_sso;
}
then in the location block
add_header Remote-User $grayloguser;
which works but then the referer for all the other pages becomes graylogs url which is logical.
Anyone got a work around in a similar situation?
Peter