Modify the login form for allowing user auto sign up

Background:

  • 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

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
Atlassian Community Anniversary

Happy Anniversary, Atlassian Community!

This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.

Read more
Community showcase
Published 14 hours ago in Confluence

Think you know shares vs. @mentions in Confluence? Take this collab quiz.

To anyone who doubts that Atlassians are a little too obsessed with collaboration, and tools related thereto, let me describe a recent discussion we had (which took place on our internal Confluence, ...

99 views 2 4
Read article

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