You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Login works but on redirect I get Notice: Undefined Index and Required parameter not passed: "code" when I try to use this extension. The OAuth2 provider I'm using (Dataporten; documentation) responds with the expected $response['user'][...] key so that shouldn't be a problem (issue #3).
In the start I thought it had something to do with PHP7 incompatibility, but I get the same result using PHP5.6, PHP7.0 and PHP7.1.
Full errors (userid and state replaced with X's) Notice: Undefined Index: code in /var/www/wiki/extensions/MW-OAuth2Client/SpecialOAuth2Client.php on line 98
/index.php/Spesial:OAuth2Client/callback?code=XXXXXXXX-XXXX-XXXX&state=XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX BadMethodCallException from line 35 of /var/www/wiki/extensions/MW-OAuth2Client/vendors/oauth2-client/src/Tool/RequiredParameterTrait.php: Required parameter not passed: "code"
Login works but on redirect I get
Notice: Undefined Index
andRequired parameter not passed: "code"
when I try to use this extension. The OAuth2 provider I'm using (Dataporten; documentation) responds with the expected$response['user'][...]
key so that shouldn't be a problem (issue #3).In the start I thought it had something to do with PHP7 incompatibility, but I get the same result using PHP5.6, PHP7.0 and PHP7.1.
Setup
MediaWiki 1.30.0
PHP 7.1.12 (using php-fpm for Nginx)
PostgreSQL 9.5.10
ICU 55.1
Full errors (userid and state replaced with X's)
Notice: Undefined Index: code in /var/www/wiki/extensions/MW-OAuth2Client/SpecialOAuth2Client.php on line 98
/index.php/Spesial:OAuth2Client/callback?code=XXXXXXXX-XXXX-XXXX&state=XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX BadMethodCallException from line 35 of /var/www/wiki/extensions/MW-OAuth2Client/vendors/oauth2-client/src/Tool/RequiredParameterTrait.php: Required parameter not passed: "code"
The text was updated successfully, but these errors were encountered: