Topic on Extension talk:OATHAuth

Error message when enabling TOTP

2
Sochin67 (talkcontribs)

Hi,

I have enabled OATHAuth extension in LocalSettings.php:

wfLoadExtension( 'OATHAuth' );

and performed a database update via Terminal:

php update.php

Then I enabled myself in LocalSettings.php (exchanged 'user' with my user name from my wiki):

$wgGroupPermissions['user']['oathauth-enable'] = true;

When calling "Special:OATHAuth" and clicking on the "Enable" button, the following error message appears:

[X2MsOumlHK6x4ODKTKpdfgAAAA8] /index.php?title=Spezial:Manage_Two-factor_authentication&action=enable&module=totp&warn=1 Error from line 66 of /www/htdocs/w00997ce/hvg-wiki-2020-03/extensions/OATHAuth/src/Key/TOTPKey.php: Class 'Base32\Base32' not found


Does anybody have an idea what went wrong?

Have I missed something in configuration?


Many thanks!

Cloudcell (talkcontribs)

you might be missing a dependency, try running the suggested 'composer' command line

Reply to "Error message when enabling TOTP"