Compatible with DokuWiki
This plugin enables user management in Google Sheets. Internally it replaces the user file with a Google Sheet.
External requirements: Google Sheets access. See Configuration section for details.
Install the plugin using the Extension Manager. Refer to Plugins on how to install plugins manually.
You need to set up a service account that will be used by DokuWiki to access the Google Sheets API.
authgooglesheets_credentials.json
in the conf/ directory of your wiki. If you have a farm setup, you will need to put the file in your animal's conf/ directory, not the farmer's.Prepare the spreadsheet that will store the users.
sheetId
in the plugin configuration. You will find the ID in the URL, for example https://docs.google.com/spreadsheets/d/111111111111111111111111111111111/edit#gid=0DokuWikiAuth
. If you prefer something else, change the sheetName
in the plugin configuration as well! sheetGid
to the gid
parameter you find it the URL.You can store any additional information about the users in the document, either as additional columns or in a new sheet. This will not affect login or user management.
Before you switch to the new authentication method in the Configuration Manager, make sure you have at least a viable superuser in your Google Sheet. It is recommended to start with plain authentication and transfer the data from conf/users.auth.php
file to your sheet. It cannot be done by simple CSV export and import, because password hashes are NOT included in the CSV. More information about the structure of user data is available in the acl documentation.