The default authentication used by mojito relies on the database

User information is stored in database and all the authentication process is handle by the server. Managing users is done via the CLI.

Alternatively, LDAP can be used.


mojito initially is set up with one default user admin/ChangeMe. You can override the default user settings. These values are only respected on initial bootstrapping.


Add new user

mojito user-create  
    --username ${USERNAME}
    --surname ${SURNAME}
    --given-name ${GIVEN_NAME} 
    --common-name ${COMMON_NAME}

Enter password when promted.

Update password

mojito user-update --username ${USERNAME} --password

Enter password when promted.

Delete user

mojito user-delete --username ${USERNAME}