When a global user uses a sub-wiki URL to log-in, they get duplicated as a local user. Is there a way to prevent this? My current workaround is to explicitly say that global users should log-in and -out of the main wiki but it would be great if this could be prevented as it also causes problems with rights and permissions. Is there a way how to fix this?
If you are talking about the XWiki#createUser API then in which wiki the user is created is still a choice of the authenticator. So you will have to fix it there by setting the right wiki in the context before calling #createUser.
additional info: we are using xwiki-tomcat9-pgsql/stable 15.6 on ubuntu 22.04 with LDAP Authenticator (org.xwiki.contrib.ldap:ldap-authenticator) version 9.11.2
Does your response still apply? Thank you so much for helping us out.