Table of Contents

authgooglesheets Plugin

Compatible with DokuWiki

  • 2024-02-06 "Kaos" unknown
  • 2023-04-04 "Jack Jackrum" unknown
  • 2022-07-31 "Igor" unknown
  • 2020-07-29 "Hogfather" yes

plugin

Last updated on
2022-06-21
Provides
CSS/JS-only
Repository
Source

Tagged with authentication

This plugin enables user management in Google Sheets. Internally it replaces the user file with a Google Sheet.

Installation

A CosmoCode Plugin

:!: 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.

Configuration

You need to set up a service account that will be used by DokuWiki to access the Google Sheets API.

Prepare the spreadsheet that will store the users.

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.

Initial User Setup

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.

Development

Change Log