cosmocode / dokuwiki-plugin-oauth

Generic oAuth1 and oAuth2 plugin for DokuWiki
http://www.dokuwiki.org/plugin:oauth
30 stars 78 forks source link

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

Open glensc opened 1 year ago

glensc commented 1 year ago

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:

fjf2002 commented 1 year ago

Yes, I failed with that message, too.

systemofapwne commented 1 year ago

I can confirm: I had the same problem.