Can't find attribute REMOTE_USER value in https request

Christopher Bongaarts cab at umn.edu
Wed Jul 18 15:29:06 EDT 2018


On 7/18/2018 9:33 AM, Tony Ennis wrote:
> >> My nginx-powered endpoint checks for a Shib cookie and if not
> >> present in the http request, redirects to the Shib login.

If you're reverse proxying from httpd to nginx, then no, you won't get 
REMOTE_USER set.  You'd need to use headers instead of environment 
variables (not the default) and pull the particular value you want.

It might be possible to have nginx map an incoming header value to 
REMOTE_USER, but I don't know much on the nginx side.

-- 
%%  Christopher A. Bongaarts   %%  cab at umn.edu          %%
%%  OIT - Identity Management  %%  http://umn.edu/~cab  %%
%%  University of Minnesota    %%  +1 (612) 625-1809    %%

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://shibboleth.net/pipermail/users/attachments/20180718/bb7247a2/attachment.html>


More information about the users mailing list