-
Notifications
You must be signed in to change notification settings - Fork 81
Open
Labels
Description
Issue Description
Hello, after I try to verify myself with my OAuth provider, I get the following error message in the Dokuwiki:
OAuth\OAuth2\Service\Exception\InvalidAuthorisationStateException:
An unforeseen error has occured. This is most likely a bug somewhere. It might be a problem in the oauth plugin.
More info has been written to the DokuWiki error log.
Unfortunately, the Dokuwiki log does not really provide me with much information:
2024-03-14 11:34:26OAuth\OAuth2\Service\Exception\InvalidAuthorizationStateException: <path>/lib/plugins/oauth/vendor/lusitanian/oauth/src/OAuth/OAuth2/Service/AbstractService.php(252)
#0 <path>/lib/plugins/oauth/vendor/lusitanian/oauth/src/OAuth/OAuth2/Service/AbstractService.php(103): OAuth\OAuth2\Service\AbstractService->validateAuthorizationState('')
#1 <path>/lib/plugins/oauth/Adapter.php(231): OAuth\OAuth2\Service\AbstractService->requestAccessToken('<token>...', '')
#2 <path>/lib/plugins/oauth/OAuthManager.php(68): dokuwiki\plugin\oauth\Adapter->checkToken()
#3 <path>/lib/plugins/oauth/OAuthManager.php(40): dokuwiki\plugin\oauth\OAuthManager->loginByService()
#4 <path>/lib/plugins/oauth/auth.php(45): dokuwiki\plugin\oauth\OAuthManager->continueFlow()
#5 <path>/inc/auth.php(102): auth_plugin_oauth->trustExternal('', '', false)
#6 <path>/inc/init.php(238): auth_setup()
#7 <path>/doku.php(38): require_once('/var/www/vhosts...')I'm trying to use the oauth generic plugin, which was configured with the information i got from this site.
However, i now believe that the error lies in the plugin and not in my configuration.
Could you help me narrow down the error?