Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
glensc opened this issue Apr 10, 2023 · 2 comments
Open

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

glensc opened this issue Apr 10, 2023 · 2 comments

Comments

@glensc
Copy link
Contributor

glensc commented Apr 10, 2023

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');
    }
@fjf2002
Copy link

fjf2002 commented Jul 17, 2023

Yes, I failed with that message, too.

@systemofapwne
Copy link

I can confirm: I had the same problem.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants