Uncaught exception when trying to authorize
- Go to https://wikishootme.toolforge.org/
- Click "Authorize"
- Click "Allow"
Get:
Fatal error: Uncaught Exception: Error retrieving token2: {"error":"mwoauthdatastore-request-token-not-found","message":"Sorry, something went wrong connecting this application.\nGo back and try to connect your account again, or contact the application author.\n\n<span class=\"plainlinks mw-mwoautherror-details\">OAuth token not found, <a class=\"external\" href=\"https:\/\/www.mediawiki.org\/wiki\/Help:OAuth\/Errors#E004\">E004<\/a><\/span>"} in /data/project/magnustools/public_html/php/oauth.php:165 Stack trace: #0 /data/project/magnustools/public_html/php/oauth.php(52): MW_OAuth->fetchAccessToken() #1 /data/project/wikishootme/public_html/api_v3.php(14): MW_OAuth->__construct('wikishootme', 'commons', 'wikimedia') #2 {main} thrown in /data/project/magnustools/public_html/php/oauth.php on line 165