Login to a library subscription database using ezproxy causes the URL to go to the default ezproxy page if users clicks the button away from the button text.
Example start URL: https://nyit.idm.oclc.org/login?url=https://search.proquest.com/abicomplete?accountid=12917
Click on the edge of either button changes the URL resulting in the Database redirect to fail.
THe URL changes to: https://nyit.idm.oclc.org/login
A proper way to code the page so that the initial URL does not get lost.
<section class="ftco-section">
<div class="container">
<div class="row justify-content-center">
<div class="popover-header">
<h2 class="heading-section">Login to access library resources.</h2>
</div>
</div>
<div class="row justify-content-center">
<div class="row ""col-md-7 col-lg-5">
<div class="login-wrap p-4 p-md-5">
<div class="align-items-center justify-content-center">
<img src="public/logo.png" title="Proxy Login" alt="Proxy Login">
</div>
<form action="/login" class="login-form" method="post">
<div class="form-group">
<button class="form-control btn-primary rounded px-3"><a href="http://nyit.idm.oclc.org:80/login?auth=shib&url=^U" style="color: #ffffff">Login with Okta Verify</a></button>
</div>
<div class="form-group">
<button class="form-control btn-primary rounded px-3">
<p><a href="http://nyit.idm.oclc.org:80/login?auth=textfile&url=^U" style="color: #ffffff">Login as a Guest.</a></p>
<p> </p>
</div></form>
</div>
</div>
</div>
</div>
<div class="row justify-content-center">
<div class="popover-footer"><a href="https://www.nyit.edu/policies/privacy_statement" target="_blank">Privacy Statement</a>
</div>
</div>
</section>