What we would like is to have 2 login options on the main login page.
We need to keep the existing login for the non-SAML login users.
We also need a button or link to the SAML login for all the SSO users.
I found this link
https://confluence.atlassian.com/jirakb/how-to-customize-the-login-gadget-225122084.html
But the details in this link I don't see the files the should be modify.
This question is relevant for Jira 8.7.1 still in April 2020. Our admins cannot configure SAML auth as primary auth, because the method it Solved: How to disable SAML 2.0 in Jira Data Center 8.2 when we can't log in for manually setting SAML back to secondary does not work.
My interim solution for adding to the login page a link for the SAML authentication is to modify the announcement banner.
<script>
if(window.location.href.indexOf("login.jsp") != -1)
{
document.write("<div class='aui-message info'><p>");
document.write("<a href='/plugins/servlet/external-login'>Click here to log in with SSO</a>");
document.write("</p></div>");
}
</script>
The javascript logic for determining if we are on the login page is courtesy of one of my fellow admins who probably found it somewhere in this community site.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.