(Do you think it should?)
Here's what that "converting-shibboleth-users-to-local" section says:
Converting Shibboleth Users to Local
Whereas users convert their own accounts from local to Shibboleth as described above, conversion in the opposite direction is performed by a sysadmin. A common scenario may be as follows:
- A user emails Support saying, "I left the university (or wherever) and can't log in to Dataverse anymore. What should I do?"
- Support replies asking the user for a new email address (Gmail, new institution email, etc.) to associate with their Dataverse account.
- The user replies with a new email address to associate with their Dataverse account.
- Support runs the curl command below, supplying the database id of the user to convert and the new email address and notes the username returned.
- Support emails the user and indicates that that they should use the password reset feature to set a new password and to make sure to take note of their username under Account Information (or the password reset confirmation email) since the user never had a username before.
- The user resets password and is able to log in with their local account. All permissions have been preserved with the exception of any permissions assigned to an institution-wide Shibboleth group to which the user formerly belonged.
In the example below, the user has indicated that the new email address they'd like to have associated with their account is "former.s...@mailinator.com
" and their user id from the ``authenticateduser`` database table is "2". The API token must belong to a superuser (probably the sysadmin executing the command).
``curl -H "X-Dataverse-key: $API_TOKEN" -X PUT -d "former.s...@mailinator.com
Rather than looking up the user's id in the ``authenticateduser`` database table, you can issue this command to get a listing of all users:
``curl -H "X-Dataverse-key: $API_TOKEN" http://localhost:8080/api/admin/authenticatedUsers``
Per above, you now need to tell the user to use the password reset feature to set a password for their local account.