ForgeRock Identity Platform
Does not apply to Identity Cloud

Double-clicks on Self-Service Registration page causes duplicate entries in IDM 6

Last updated Jan 12, 2023

The purpose of this article is to provide assistance if duplicate user entries are created in IDM when a user double-clicks the Submit button on the Self-Service Registration page.


Issues may arise during Self-Registration when a user double-clicks the submit form. For example, a user is created multiple times in the IDM database. These duplicate entries prevent the user logging in until the duplicate entry is removed.

Recent Changes



There is a known issue OPENIDM-7789 when a user double-clicks the Submit button on the Self-Service Registration page, two concurrent REST calls are sent, which creates two profiles. The profiles have unique userNames (meaning the userName uniqueness policy is still being enforced) but the presence of duplicate entries prevents a user logging in.


This issue can be resolved by updating the definition for the Submit button in the following files (located in the /path/to/idm/ui/selfservice/default/templates/user/process/registration directory):

  • userDetails-initial.html
  • kbaSecurityAnswerDefinitionStage-initial.html

You should add the ondblclick="" setting to the Submit definition so that it looks like this:

<input type="submit" class="btn btn-lg btn-primary btn-block btn-uppercase" ondblclick="" value="t ''" /

This change implies an empty action for double-clicks, which means the second click is ignored and only one user profile is created.

See Also

Customizing IDM

Customizing a Self-Service UI Template

Related Training


Related Issue Tracker IDs

OPENIDM-7789 (Double click save self-registration form causes two rest calls and race condition)

Copyright and Trademarks Copyright © 2023 ForgeRock, all rights reserved.