Modify the login form for allowing user auto sign up


  • We have 2000 license installation of confluence (probably will grow more).
  • We are using a connection to the Active Directory
  • The user name in the AD is not "name.lastname"
  • We wanto to avoid administrative work of having somebody creating users manually.

The problem we have is that the "username" field autofills the field based on the Email field. That is confusing our users since in our LDAP our username is not "name.lastname" like our e-mails. 50% of the new users will just leave the username name.lastname (even if we wrote in the description above to edit that). In result, this will create a user that is not able to logon (because that username doesn't exist in the AD)

How can we disable that automatic filling in of the username field based on the e-mail?

1 answer

1 accepted

0 votes
Accepted answer

Here is what I finally did to work around this:

  1. 1. In the User Directory Settings, for the AD connection I ticked the copy user on login. This will create the user in Confluence fetching information from AD ( only in the first login).
  2. 2. I added the default group membership: confluence-users. Without that user group they cannot see any content.
  3. 3. In the User Schema Settings you can map the parameters that Confluence copies. I had to change the User Display Name field because it was set as “Lastname, Name” and that is not a user friendly name to have in Confluence. I instead used wrote “givenName&sn” to get the natural “Name Lastname” format.
  4. 4. In the User Directory menu where it shows what directory to use first I changed Confluence Internal Directory to first option. Because after the first attempt the user is created already. It will still use AD for authentication.
  5. 5. I disabled the option “Allow users to sign-up”. Now they won’t need to do it the just log-in.

Suggest an answer

Log in or Sign up to answer
Community showcase
Posted Feb 06, 2019 in Confluence

Try out the new editing experience

Hi team, I’m Avinoam, a product manager on Confluence Cloud, and today I’m really excited to let the Community know that all customers can now try out the new editing experience and see some of the ...

780 views 33 5
Join discussion

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you