Please sign-in to access all information available.
$returnUrl = "https://" . $_SERVER['HTTP_HOST'] . url('shib_login') . $_SERVER['REQUEST_URI'];
$sessioninitiator = shib_auth_get_redirect_base(shib_auth_config('full_handler_url'));
$sep="?";
if (preg_match('/\?/', $sessioninitiator)) {
$sep='&';
}
$forceauthn = '';
//append forceAuthN variable to the login string
if (shib_auth_config('forceauthn')) {
$forceauthn = '&forceAuthn=1';
}
$login_url = check_url($sessioninitiator . $sep . "target=" . urlencode($returnUrl) . $forceauthn);
//print $login_url;
print l(t('Sign-in with your CERN NICE account'), $login_url, array('attributes' => array('title' => t('Sign in to your CERN account'), 'class' => 'cern-account')));
?>