Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Can I enforce authentication attempts without using CAPTCHA?

Adam Humenansky
Contributor
March 21, 2018

BLUF:
* CAPTCHA authentication always fails on a stand-alone JIRA instance
* We want a notification sent to SysAdmin when a user locks themselves out

 

Background:
I am running an offline instance of JIRA on a secure intranet. 

As part of security protocol, we need to lock users out after 3 failed password attempts. We have "maximum authentication attempts" set to 3, and this works just fine. 

Unfortunately, it presents a CAPTCHA to the user, who thinks that solving the CAPTCHA will grant them access. The CAPTCHA verification always fails, even if the user inputs the code correctly. This persists until a SysAdmin goes into the User Management pane and resets their failed login count. I assume this is because we are a standalone instance? I would prefer the CAPTCHA simply not appear (and ideally display a warning message instead).

Regardless, we have the functionality now that we need, but I'm looking for a solution that can notify a system administrator when a user fails to login after 3 attempts. 

1 answer

0 votes
Andy Heinzer
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
March 23, 2018

When a user exceeds the threshold of failed login attempts, the CAPTCHA is presented on the screen, however this is not the sole means to then login. Instead this is just intended to be an additional check to make sure the attempt is coming from a real person (and not a bot, script, or malicious user).

When you see the CAPTCHA on the login screen, you not only have to successfully complete the CAPTCHA, but then you also still need to provide the correct login credentials (both username and password in their respective fields) on that same screen.

There is a known scenario where you might see the CAPTCHA stuck on the screen, but in this case it can be due to a corrupted browser cookie, see The JIRA application login is stuck on captcha validation for details.

As for Jira notifying an administrator when a user exceeds this threshold, this is not possible with Jira natively right now.  There are a pair of feature requests for this kind of functionality in:

https://jira.atlassian.com/browse/JRASERVER-28945

https://jira.atlassian.com/browse/JRASERVER-66580

 

Technically speaking when a user sees the CAPTCHA on the login screen, their account is not actually locked out (at least not by Jira).  A locked out account cannot login at all.  But when you see this CAPTCHA it tends to be because the credentials are actually invalid at that time.   Are you using an LDAP directory with Jira for authentication?

Are you also running another Atlassian product like Confluence on the same server address?  If so, there is another scenario where User is constantly logged out of JIRA.  That KB might be helpful if you have two such applications on the same address.

If that isn't the case here, and you know the user is definitely using the correct captcha and correct credentials but still can't login, I would strongly recommend the further troubleshooting steps in Unable to login to JIRA applications.  It explains there are some additional logging you can turn on in Jira in order to see more details on why some users fail to login.

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events