When changing authentication strategies for wikijs, the providerKey is not a field that is available for updating existing users.
As a workaround, we are getting a list of existing users, creating a list of new users with the new providerKey (which can be set on CREATE but not UPDATE), setting the replaceId upon deletion of old users from old account -> new
It would be a lot easier if we could just modify the providerKey for an existing user.