Skip to content

plugin initialization error without users.auth.php file #141

@glensc

Description

@glensc

seems the oauth plugin extends authplain and requires conf/users.auth.php file to be present otherwise it ends up with cryptic message "User authentication is temporarily unavailable. If this situation persists, please inform your Wiki Admin." and no details or errors anywhere.

it's because $auth->success check:

which gets set to false in case the file is missing:

and nothing resets it in the construct:

  • /** @inheritDoc */
    public function __construct()
    {
    parent::__construct();
    $this->cando['external'] = true;
    $this->hlp = $this->loadHelper('oauth');
    }

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions