--- loncom/auth/lonshibauth.pm 2022/06/18 02:10:18 1.15 +++ loncom/auth/lonshibauth.pm 2022/06/30 21:04:13 1.16 @@ -2,7 +2,7 @@ # Redirect Single Sign On authentication to designated URL: # /adm/sso, by default. # -# $Id: lonshibauth.pm,v 1.15 2022/06/18 02:10:18 raeburn Exp $ +# $Id: lonshibauth.pm,v 1.16 2022/06/30 21:04:13 raeburn Exp $ # # Copyright Michigan State University Board of Trustees # @@ -306,8 +306,10 @@ sub set_token { &Apache::lonnet::tmpdel($env{'form.ltoken'}); if ($info{'linkprot'}) { $extras .= '&linkprot='.&escape($info{'linkprot'}); - if ($info{'linkprotuser'} ne '') { - $extras .= '&linkprotuser='.&escape($info{'linkprotuser'}); + foreach my $item ('linkprotuser','linkprotexit') { + if ($info{$item} ne '') { + $extras .= '&'.$item.'='.&escape($info{$item}); + } } last; }