Code Monkey home page Code Monkey logo

authnc's Introduction

authnc Plugin for DokuWiki

This small authentication plugin for the DokuWiki which uses a Nextcloud instance as authentication backend.

This is mostly work in progress

Remarks
  • This plugin uses the OCS-API from Nextcloud to authorize new users.
  • At the moment only trustExternal, logout, getGroups and getUserCount are implemented
  • getUsers is somewhat broken, atm (too many requests)
  • The API may behave slowly
  • ATM, there are no tests, it was programmed against a live instance with a simple dw instance, see submodules (do not checkout)
  • The login form throws a failure 998 invalid syntax, see this
ToDo
  • Only allow login for enabled users
  • allow only specific groups to login
  • allow bidirectional user changes
Usage notes
  • To use ACL create the appropriate groups within your NC instance and assign it to your users
  • Set the groups within the DokuWiki config to manager or users
  • Use the ACL as usually

Installation notes

If you install this plugin manually, make sure it is installed in lib/plugins/authnc/ - if the folder is called different it will not work!

Please refer to http://www.dokuwiki.org/plugins for additional info on how to install plugins in DokuWiki.

Collaboration

  • Pull request are highly welcome
  • Issues, feature requests, testing and hints are also welcome

Please use the bug tracker for any of them.


Copyright (C) Henrik Jürges [email protected]

This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; version 2 of the License

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

See the LICENSING file for details

authnc's People

Contributors

santifa avatar

Watchers

James Cloos avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.