CINXE.COM
UCM Single Sign-On
<html> <head> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <!-- <title>UCM Single Sign-On</title> --> <title>UCMO Single Sign-On</title> <link rel="icon" href="images/favicon.ico" type="image/x-icon"/> <link href="libs/bootstrap_5.3.2/css/bootstrap.min.css" rel="stylesheet"> <link href="css/Roboto.css" rel="stylesheet"> <link href="css/custom-common.css" rel="stylesheet"> <link href="/authenticationendpoint/ellucian/index.css" rel="stylesheet"> <link href="css/ethos-typography.css" rel="stylesheet"> <!--[if lt IE 9]> <script src="js/html5shiv.min.js"></script> <script src="js/respond.min.js"></script> <![endif]--> </head> <body onload="checkSessionKey()"> <!-- page content --> <div class="container-fluid body-wrapper"> <div class="row" style="flex-wrap: nowrap; justify-content: center; align-content: center;"> <div class="col-sm-offset-1 col-sm-10 col-md-offset-2 col-md-8"> <!-- content --> <div class="container"> <div class="wrapper"> <div class="align_right_custom"> <h2><img src="./images/ucm-acad-h.png" alt="University of Central Missouri UCM Logo - Universities in Missouri"></h2> </div> <script src="libs/jquery_3.6.0/jquery-3.6.0.js"></script> <script src="libs/bootstrap_5.3.2/js/bootstrap.min.js"></script> <script> function goBack() { window.history.back(); } // Handle form submission preventing double submission. $(document).ready(function(){ $.fn.preventDoubleSubmission = function() { $(this).on('submit',function(e){ var $form = $(this); if ($form.data('submitted') === true) { // Previously submitted - don't submit again. e.preventDefault(); console.warn("Prevented a possible double submit event"); } else { e.preventDefault(); var isEmailUsernameEnabled = JSON.parse("false"); var tenantName = getParameterByName("tenantDomain"); var userName = document.getElementById("username"); var usernameUserInput = document.getElementById("usernameUserInput"); var isEmailUsernameValidationDisabled = JSON.parse("false"); if (usernameUserInput) { var usernameUserInputValue = usernameUserInput.value.trim(); if (tenantName && tenantName !== "null") { if (isEmailUsernameEnabled && !isEmailUsernameValidationDisabled) { if (usernameUserInputValue.split("@").length <= 1) { var errorMessage = document.getElementById("error-msg"); errorMessage.innerHTML = "Invalid Username. Username has to be an email address."; errorMessage.style.display = "block"; return; } if (usernameUserInputValue.split("@").length === 2) { userName.value = usernameUserInputValue + "@" + tenantName; } else { userName.value = usernameUserInputValue; } } else { if (usernameUserInputValue.split("@").length > 1) { userName.value = usernameUserInputValue; } else { userName.value = usernameUserInputValue + "@" + tenantName; } } } else { userName.value = usernameUserInputValue; } } if (userName.value) { let contextPath = "" if (contextPath !== "") { contextPath = contextPath.startsWith('/') ? contextPath : "/" + contextPath contextPath = contextPath.endsWith('/') ? contextPath.substring(0, contextPath.length - 1) : contextPath } $.ajax({ type: "GET", url: contextPath + "/logincontext?sessionDataKey=" + getParameterByName("sessionDataKey") + "&relyingParty=" + getParameterByName("relyingParty") + "&tenantDomain=" + tenantName, success: function (data) { if (data && data.status == 'redirect' && data.redirectUrl && data.redirectUrl.length > 0) { window.location.href = data.redirectUrl; } else if ($form.data('submitted') !== true) { $form.data('submitted', true); document.getElementById("loginForm").submit(); } else { console.warn("Prevented a possible double submit event."); } }, cache: false }); } } }); return this; }; $('#loginForm').preventDoubleSubmission(); }); </script> <form action="../commonauth" method="post" id="loginForm" class="form-inline text_right_custom"> <div class="login-input-container"> <div class="form-group"> <input id="usernameUserInput" name="usernameUserInput" type="text" class="form-control" tabindex="0" placeholder="Username"required> <i aria-hidden="true" class="user icon"></i> <input id="username" name="username" type="hidden" value="null"> </div> </div> <div class="login-input-container"> <div class="form-group"> <input id="password" name="password" type="password" class="form-control" placeholder="Password" autocomplete="off"> <i aria-hidden="true" class="lock icon"></i> </div> </div> <div> <div> <input type="hidden" name="sessionDataKey" value='02786c1f-2028-4d32-b499-7e439e3c54db'/> </div> <div class="form-group"> <div class="field"> Forgot <a id="usernameRecoverLink" href="https://www2.ucmo.edu/webapps/network_lookup/" target="_blank"> Username </a> or <a id="passwordRecoverLink" href="https://sso.ucmo.edu/accountrecoveryendpoint/recoveraccountrouter.do?Name=PreLoginRequestProcessor&commonAuthCallerPath=%252Fcas%252Flogin&forceAuth=true&passiveAuth=false&service=https%3A%2F%2Fwww.ucmo.edu%2Fcampus-directory%2Findex.php&tenantDomain=carbon.super&sessionDataKey=02786c1f-2028-4d32-b499-7e439e3c54db&relyingParty=www.ucmo.edu_CAS&type=cas&sp=www.ucmo.edu_CAS&isSaaSApp=false&authenticators=BasicAuthenticator%3ALOCAL&isUsernameRecovery=false&callback=https%3A%2F%2Fsso.ucmo.edu%3A443%2Fauthenticationendpoint%2Flogin.do%3FName%3DPreLoginRequestProcessor%26commonAuthCallerPath%3D%252Fcas%252Flogin%26forceAuth%3Dtrue%26passiveAuth%3Dfalse%26service%3Dhttps%3A%2F%2Fwww.ucmo.edu%2Fcampus-directory%2Findex.php%26tenantDomain%3Dcarbon.super%26sessionDataKey%3D02786c1f-2028-4d32-b499-7e439e3c54db%26relyingParty%3Dwww.ucmo.edu_CAS%26type%3Dcas%26sp%3Dwww.ucmo.edu_CAS%26isSaaSApp%3Dfalse%26authenticators%3DBasicAuthenticator%3ALOCAL"> Password </a> ? </div> </div> <div class="form-group force-display-block"> <label> <input type="checkbox" id="chkRemember" name="chkRemember"> Remember me on this computer </label> </div> <div class="form-group"> <div class="form-actions"> <button class="eds-button eds-button--primary eds-button--small" type="submit">Sign In </button> </div> </div> <div class="form-group"> <p>For assistance, contact the<br><a href="https://www.ucmo.edu/offices/office-of-technology/internal-resources/shared/technology-support-center/">Technology Support Center</a>.</p> <p>By continuing, you understand and acknowledge UCM's <a href="https://www.ucmo.edu/offices/general-counsel/university-policy-library/policies/acceptable-use-policy/">Acceptable Use Policy</a>.</p> </div> </form> </div> </div> </div> </div> </div> <script src="libs/jquery_3.6.0/jquery-3.6.0.js"></script> <script src="libs/bootstrap_5.3.2/js/bootstrap.min.js"></script> <script> function checkSessionKey() { var proxyPath = "" $.ajax({ type: "GET", url: proxyPath + "/logincontext?sessionDataKey=" + getParameterByName("sessionDataKey") +"&relyingParty=" + getParameterByName("relyingParty") + "&tenantDomain="+ getParameterByName("tenantDomain"), success: function (data) { if (data && data.status == 'redirect' && data.redirectUrl && data.redirectUrl.length > 0) { window.location.href = data.redirectUrl; } }, cache: false }); } function getParameterByName(name, url) { if (!url) { url = window.location.href; } name = name.replace(/[\[\]]/g, '\$&'); var regex = new RegExp('[?&]' + name + '(=([^&#]*)|&|#|$)'), results = regex.exec(url); if (!results) return null; if (!results[2]) return ""; return decodeURIComponent(results[2].replace(/\+/g, ' ')); } $(document).ready(function () { $('.main-link').click(function () { $('.main-link').next().hide(); $(this).next().toggle('fast'); var w = $(document).width(); var h = $(document).height(); $('.overlay').css("width", w + "px").css("height", h + "px").show(); }); $('.overlay').click(function () { $(this).hide(); $('.main-link').next().hide(); }); }); function myFunction(key, value, name) { var object = document.getElementById(name); var domain = object.value; if (domain != "") { document.location = "../commonauth?idp=" + key + "&authenticator=" + value + "&sessionDataKey=02786c1f-2028-4d32-b499-7e439e3c54db&domain=" + domain; } else { document.location = "../commonauth?idp=" + key + "&authenticator=" + value + "&sessionDataKey=02786c1f-2028-4d32-b499-7e439e3c54db"; } } function handleNoDomain(elem, key, value) { var linkClicked = "link-clicked"; if ($(elem).hasClass(linkClicked)) { console.warn("Preventing multi click.") } else { $(elem).addClass(linkClicked); document.location = "../commonauth?idp=" + key + "&authenticator=" + value + "&sessionDataKey=02786c1f-2028-4d32-b499-7e439e3c54db" + ""; } } window.onunload = function(){}; function changeUsername (e) { document.getElementById("changeUserForm").submit(); } $('.isHubIdpPopupButton').popup({ popup: '.isHubIdpPopup', on: 'click', position: 'top left', delay: { show: 300, hide: 800 } }); </script> </body> </html>