Uploaded image for project: 'translate5'
  1. translate5
  2. TRANSLATE-1830

Unable to determine state

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • None
    • None
    • OpenId Connect

    Description

      Problem

      From unknown reason the user session state and the openid session state where different, and this error was thrown:

      Stack trace:

      Exception: Jumbojett\OpenIDConnectClientException
      Level: ERROR
      Errorcode: E9999Message: Unable to determine state
      Domain: core
      Version: 3.2.7
      File (Line): /webs/XXX.translate5.net/library/OpenID-Connect-PHP/vendor/jumbojett/openid-connect-php/src/OpenIDConnectClient.php (278)
      Request: POST /login
      Trace:
      #0 /webs/XXX.translate5.net/library/ZfExtended/OpenIDConnectClient.php(121): Jumbojett\OpenIDConnectClient->authenticate()
      #1 /webs/XXX.translate5.net/application/modules/default/Controllers/LoginController.php(168): ZfExtended_OpenIDConnectClient->authenticate()
      #2 /webs/XXX.translate5.net/application/modules/default/Controllers/LoginController.php(55): LoginController->handleOpenIdRequest()
      #3 /webs/mittagqi_meta/other/zend/Zend-z1-php7.3-1.13.2-p1/Zend/Controller/Action.php(516): LoginController->indexAction()
      #4 /webs/mittagqi_meta/other/zend/Zend-z1-php7.3-1.13.2-p1/Zend/Controller/Dispatcher/Standard.php(308): Zend_Controller_Action->dispatch('indexAction')
      #5 /webs/mittagqi_meta/other/zend/Zend-z1-php7.3-1.13.2-p1/Zend/Controller/Front.php(954): Zend_Controller_Dispatcher_Standard->dispatch(Object(Zend_Controller_Request_Http), Object(Zend_Controller_Response_Http))
      #6 /webs/mittagqi_meta/other/zend/Zend-z1-php7.3-1.13.2-p1/Zend/Application/Bootstrap/Bootstrap.php(105): Zend_Controller_Front->dispatch()
      #7 /webs/mittagqi_meta/other/zend/Zend-z1-php7.3-1.13.2-p1/Zend/Application.php(384): Zend_Application_Bootstrap_Bootstrap->run()
      #8 /webs/XXX.translate5.net/library/ZfExtended/Application.php(47): Zend_Application->run()
      #9 /webs/XXX.translate5.net/library/ZfExtended/BaseIndex.php(153): ZfExtended_Application->run()
      #10 /webs/XXX.translate5.net/public/index.php(35): ZfExtended_BaseIndex->startApplication()
      #11
      
      
      

      Solution

      Improve the error logging in the openid client.

      Attachments

        Activity

          People

            aleksandar Aleksandar Mitrev
            aleksandar Aleksandar Mitrev
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: