CINXE.COM
American Hospital Association Member Login
<html> <head> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /> <title>American Hospital Association Member Login</title> <meta name="viewport" content="width=device-width,initial-scale=1" /> <link rel="stylesheet" type="text/css" href="files/structure.css" /> <link rel="stylesheet" type="text/css" href="files/style.css" /> <link rel="icon" type="image/x-icon" href="files/favicon.ico" /> <script src="https://code.jquery.com/jquery-3.6.1.min.js" integrity="sha256-o88AwQnZB+VDvE9tvIXrMQaPlFFSUTR+nldQm1LuPXQ=" crossorigin="anonymous"> </script> <!-- Google Tag Manager --> <script>(function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({'gtm.start': new Date().getTime(),event:'gtm.js'});var f=d.getElementsByTagName(s)[0], j=d.createElement(s),dl=l!='dataLayer'?'&l='+l:'';j.async=true;j.src= 'https://www.googletagmanager.com/gtm.js?id='+i+dl;f.parentNode.insertBefore(j,f); })(window,document,'script','dataLayer','GTM-TL4XBQK');</script> <!-- End Google Tag Manager --> <script type="text/javascript" charset="utf-8" src="files/helper.js"></script> <script type="text/javascript"> // Set current url cookie. let currentLocation = window.location.href; setCookie("currentUrl", currentLocation, 15); function loginPing() { // WARNING: For POST requests, body is set to null by browsers. $('#loginbt').attr("disabled", true); var data = JSON.stringify({ "username": document.getElementById("idToken1").value, "password": document.getElementById("idToken2").value }); var xhr = new XMLHttpRequest(); xhr.withCredentials = true; xhr.addEventListener("readystatechange", function() { if(this.readyState === 4) { try { const obj = JSON.parse(this.responseText); if (obj.status == 'MUST_CHANGE_PASSWORD') { let flowid = '0346ebf4-7fbc-4a57-bc14-a7a8de39bd51'; let message = 'Your password must be reset before login. You are now being redirected to the password reset page.' printMessage(message, 'reset', flowid); } else if (obj.resumeUrl != undefined) { window.location.href = obj.resumeUrl; } else if ('details' in obj && obj.details[0]['code'] == 'CONSTRAINT_VIOLATION') { var adjustedReferrer = getAdjustedReferrer(); $.post( "/notify/", { channel: "slack", code: "LOGIN_ERROR_SESSION", description: "Tried username: " + document.getElementById("idToken1").value + "\n" + "Referrer: " + document.referrer + "\n" + "Adjusted Referrer: " + adjustedReferrer + "\n\n" + JSON.stringify(obj, null, 2) } ); sessionExpired(history, -1); } else { if ('details' in obj) { let message_text = errorValidator(obj.details[0]['code'], obj.details[0]['target']); printMessage(message_text, 'error', ''); if (obj.details[0]['code'] == 'INVALID_VALUE') { var adjustedReferrer = getAdjustedReferrer(); $.post( "/notify/", { channel: "slack", code: "LOGIN_ERROR", description: "Tried username: " + document.getElementById("idToken1").value + "\n" + "Referrer: " + document.referrer + "\n" + "Adjusted Referrer: " + adjustedReferrer + "\n\n" + JSON.stringify(obj, null, 2) } ); if (obj.details[0]['target'] == 'username') { window.location.href = 'https://www.aha.org/sso/logout?goto=' + adjustedReferrer; } } setTimeout(function () { $('.alert-system').fadeOut(500); $('#loginbt').attr("disabled", false); }, 5000); } else { var adjustedReferrer = getAdjustedReferrer(); $.post( "/notify/", { channel: "slack", code: "LOGIN_ERROR_SESSION", description: "Tried username: " + document.getElementById("idToken1").value + "\n" + "Referrer: " + document.referrer + "\n" + "Adjusted Referrer: " + adjustedReferrer + "\n\n" + JSON.stringify(obj, null, 2) } ); sessionExpired(history, -1); } } } catch (e) { let message = 'Error! An unexpected error has occurred.' printMessage(message, 'error', ''); $.post( "/notify/", { channel: "slack", code: "LOGIN_ERROR", description: e.toString() } ); } } }); xhr.open("POST", "https://auth.aha.org/flows/0346ebf4-7fbc-4a57-bc14-a7a8de39bd51"); xhr.setRequestHeader("Content-Type", "application/vnd.pingidentity.usernamePassword.check+json"); xhr.send(data); return false; } function createAccount() { // adapted from sites.js let referrer = document.referrer; // Redirect to domain if reffer is empty. if (referrer == '') { referrer = 'https://www.aha.org'; } let urlObj = new URL(referrer); let site = urlObj.hostname.replace("openamdev.", "").replace("openamstg.", "").replace("login.", "").replace("dev.", "").replace("staging.", "").replace("prod.", "").replace("www.", "").replace(".org", "").replace(".com", "").replace(/\/$/, '').split(".")[0]; switch(site) { case 'healthycommunities': site = 'achi'; break; } window.location.href = 'https://ams.aha.org/eweb/dynamicpage.aspx?webcode=Register&site=aha&ahabu=' + site + '&action=add&RedirectURL=https%3A%2F%2Fsso.aha.org%2Flogin%2F%3FenvironmentId%3D8b9f511a-1e4f-4080-a37d-fd2cdaa8f4c5%26flowId%3D0346ebf4-7fbc-4a57-bc14-a7a8de39bd51'; } function getAdjustedReferrer() { var referrer = document.referrer; if (!referrer) { return 'https://www.aha.org'; } var urlObj = new URL(referrer); referrer = urlObj.protocol + '//' + urlObj.hostname; var eWebPath = 'eWeb?webcode=MyProfile'; if (referrer == 'https://ams.aha.org' || referrer == 'https://amstest.aha.org' || referrer == 'https://amsdev.aha.org') { return referrer + '/' + eWebPath; } else if (referrer == 'https://ams.aha.org/' || referrer == 'https://amstest.aha.org/' || referrer == 'https://amsdev.aha.org/') { return referrer + eWebPath; } else { return referrer; } } </script> </head> <body style="margin-bottom: 0px;"> <!-- Google Tag Manager (noscript) --> <noscript><iframe src="https://www.googletagmanager.com/ns.html?id=GTM-TL4XBQK" height="0" width="0" style="display:none;visibility:hidden"></iframe></noscript> <!-- End Google Tag Manager (noscript) --> <div id="messages" class="clearfix"></div> <div id="wrapper" aria-busy="false"> <div id="blueBox" class="col-md-6 col-sm h-100"> <div class="row blueBoxItem introWrap container-fluid"> <div class="intro"> <a href="https://www.aha.org"><img src="https://www.aha.org/sites/default/files/forgeRockImages/logo-aha-reverse.png" style="width:210px;" /></a> <ul> <li>Help advance the health of individuals and communities.</li> <li>Access valuable health care resources.</li> <li>Customize your experience.</li> </ul> </div> </div> <div class="container blueBoxItem introLogos"> <div class="logo"> <a id="achi_url" href="https://www.healthycommunities.org"><img id="achi_image" alt="ACHI Logo" src="https://www.aha.org/sites/default/files/forgeRockImages/logo-achi-white-on-black2.png"></a> </div> <div class="logo"> <a id="ahe_url" href="https://www.ahe.org"><img id="ahe_image" alt="AHE Logo" src="https://www.aha.org/sites/default/files/forgeRockImages/logo-ahe-white-on-black2.png"></a> </div> <div class="logo"> <a id="ahrmm_url" href="https://www.ahrmm.org"><img id="ahrmm_image" alt="AHRMM Logo" src="https://www.aha.org/sites/default/files/forgeRockImages/logo-ahrmm-white-on-black.png"></a> </div> <div class="logo"> <a id="aonl_url" href="https://www.aonl.org"><img id="aonl_image" alt="AONL Logo" src="https://www.aha.org/sites/default/files/forgeRockImages/logo-aonl-white-on-black.png"></a> </div> <div class="logo"> <a id="ashe_url" href="https://www.ashe.org"><img id="ashe_image" alt="ASHE Logo" src="https://www.aha.org/sites/default/files/forgeRockImages/logo-ashe-white-on-black.png"></a> </div> <div class="logo"> <a id="ashrm_url" href="https://www.ashrm.org"><img id="ashrm_image" alt="ASHRM Logo" src="https://www.aha.org/sites/default/files/forgeRockImages/logo-ashrm-white-on-black.png"></a> </div> <div class="logo"> <a id="ifdhe_url" href="https://ifdhe.aha.org"><img id="ifdhe_image" alt="IFDHE Logo" src="https://www.aha.org/sites/default/files/forgeRockImages/logo-ifd-white-on-black2.png"></a> </div> <div class="logo"> <a id="shsmd_url" href="https://www.shsmd.org"><img id="shsmd_image" alt="SHSMD Logo" src="https://www.aha.org/sites/default/files/forgeRockImages/logo-shsmd-white-on-black.png"></a> </div> </div> </div> <div id="greyBox"> <div class="loginWrap"> <div id="content"> <div class="loginForm"> <noscript> Please enable JavaScript in your browser to login. </noscript> <h2>Login</h2> <form onsubmit="return loginPing()" class="form login col-sm-6 col-sm-offset-3" data-stage="DataStore1"> <input type="text" id="idToken1" name="callback_0" value="" data-validator="required" required="" data-validator-event="keyup" class="form-control input-lg" placeholder="Email" autofocus=""> <input type="password" id="idToken2" name="callback_1" class="form-control input-lg" placeholder="Password" value="" data-validator="required" required="" data-validator-event="keyup"> <input id="loginbt" type="submit" name="callback_2" role="button" index="0" class="btn btn-lg btn-block btn-uppercase btn-primary" value="Login"> <span><a id="forgotPw" href="/passwordreset/?flowId=0346ebf4-7fbc-4a57-bc14-a7a8de39bd51">Forgot Password?</a></span> <p class="indicia">By clicking the "Login" button, I agree to the <a href="https://www.aha.org/2022-07-14-termsofuse" target="_blank">Terms of Use</a> and <a href="https://www.aha.org/2022-07-14-privacy-policy" target="_blank">Privacy Policy.</a></p> </form> </div> <div class="loginForm"> <h2>First time here?</h2> <button onclick="return createAccount()" form="createAccount" type="submit" value="Submit" name="createAccount" class="registerLink">Create An Account</button><span class="helpLink"><a href="https://www.aha.org/help" target="_blank">Help</a></span> </div> </div> </div> </div> <div id="blueBoxTablet"></div> </div> </body> </html>