I'm not sure if this is me being an idiot (probably, likely), but whenever I try to authorize OAuth at rest.php/oauth2/authorize, I'm thrown an error:
{ "message": "Error: exception of type Error", "httpCode":500, "httpReason":"Internal Server Error" }
I'm not entirely sure what is causing this, and I can't get MediaWiki to post anything to my error log about what could be causing this. Not entirely sure if this is iscolated to me (if I'm doing something that is causing this), or if it's a genuine error. I'm running Php 8.1 and MediaWiki 1.39.1, any help debugging this would be appreciated!
OAuth configuration:
'wgMWOAuthCentralWiki' => [ 'default' => 'metawiki', ], 'wgOAuth2GrantExpirationInterval' => [ 'default' => 'PT4H', ], 'wgMWOAuthSharedUserSource' => [ 'default' => 'CentralAuth', ], 'wgMWOAuthSecureTokenTransfer' => [ 'default' => true, ], 'wgOAuth2PublicKey' => [ 'default' => '/etc/private/public.key', ], 'wgOAuth2PrivateKey' => [ 'default' => '/etc/private/private.key', ],