Uploaded image for project: 'COmanage'
  1. COmanage
  2. CO-2251

Self signup with approval enrollment flow fails with Invalid Token

    XMLWordPrintable

Details

    Description

      The enrollment flow is a standard self-signup enrollment flow that uses EnvSource. After email verification the enrollee browses to

      /registry/co_petitions/establishAuthenticators

      and receives a 302 to /registry. The flash error records "Invalid token".

      This is seen when the authenticated identifier is attached to an OrgIdentity that is in another CO.

      Note that the CO in which the enrollment flow lives does NOT have an authenticator defined.

      The following is also shown in the log:

       2021-10-19 17:57:20 Notice: Notice (8): Undefined index: role in [/srv/comanage-registry/app/Controller/CoPetitionsController.php, line 280]
       Trace:
       ErrorHandler::handleError() - CORE/Cake/Error/ErrorHandler.php, line 230
       CoPetitionsController::beforeFilter() - APP/Controller/CoPetitionsController.php, line 280
       CakeEventManager::dispatch() - CORE/Cake/Event/CakeEventManager.php, line 244
       Controller::startupProcess() - CORE/Cake/Controller/Controller.php, line 682
       Dispatcher::_invoke() - CORE/Cake/Routing/Dispatcher.php, line 189
       Dispatcher::dispatch() - CORE/Cake/Routing/Dispatcher.php, line 167
       [main] - APP/webroot/index.php, line 96
       2021-10-19 17:57:20 Notice: Notice (8): Undefined index: role in [/srv/comanage-registry/app/Controller/CoPetitionsController.php, line 281]
       Trace:
       ErrorHandler::handleError() - CORE/Cake/Error/ErrorHandler.php, line 230
       CoPetitionsController::beforeFilter() - APP/Controller/CoPetitionsController.php, line 281
       CakeEventManager::dispatch() - CORE/Cake/Event/CakeEventManager.php, line 244
       Controller::startupProcess() - CORE/Cake/Controller/Controller.php, line 682
       Dispatcher::_invoke() - CORE/Cake/Routing/Dispatcher.php, line 189
       Dispatcher::dispatch() - CORE/Cake/Routing/Dispatcher.php, line 167
       [main] - APP/webroot/index.php, line 96
       2021-10-19 17:57:20 Notice: Notice (8): Undefined index: role in [/srv/comanage-registry/app/Controller/CoPetitionsController.php, line 1093]
       Trace:
       ErrorHandler::handleError() - CORE/Cake/Error/ErrorHandler.php, line 230
       CoPetitionsController::dispatch() - APP/Controller/CoPetitionsController.php, line 1093
       CoPetitionsController::tandcAgreement() - APP/Controller/CoPetitionsController.php, line 2996
       ReflectionMethod::invokeArgs() - [internal], line ??
       Controller::invokeAction() - CORE/Cake/Controller/Controller.php, line 499
       Dispatcher::_invoke() - CORE/Cake/Routing/Dispatcher.php, line 193
       Dispatcher::dispatch() - CORE/Cake/Routing/Dispatcher.php, line 167
       [main] - APP/webroot/index.php, line 96
       2021-10-19 17:57:20 Notice: Notice (8): Undefined index: role in [/srv/comanage-registry/app/Controller/CoPetitionsController.php, line 1095]
       Trace:
       ErrorHandler::handleError() - CORE/Cake/Error/ErrorHandler.php, line 230
       CoPetitionsController::dispatch() - APP/Controller/CoPetitionsController.php, line 1095
       CoPetitionsController::tandcAgreement() - APP/Controller/CoPetitionsController.php, line 2996
       ReflectionMethod::invokeArgs() - [internal], line ??
       Controller::invokeAction() - CORE/Cake/Controller/Controller.php, line 499
       Dispatcher::_invoke() - CORE/Cake/Routing/Dispatcher.php, line 193
       Dispatcher::dispatch() - CORE/Cake/Routing/Dispatcher.php, line 167
       [main] - APP/webroot/index.php, line 96
      

      Attachments

        Activity

          People

            benn.oshrin@at.internet2.edu Benn Oshrin (internet2.edu)
            scott.koranda@at.internet2.edu Scott Koranda (uwm.edu/illinois.edu)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: