Uploaded image for project: 'Camunda Optimize'
  1. Camunda Optimize
  2. OPT-6787

Reinitiate the authentication flow when the user is no longer authorized for C8SM

XMLWordPrintable

    • Icon: Task Task
    • Resolution: Fixed
    • Icon: L3 - Default L3 - Default
    • 3.10.0-alpha5, 3.10.0
    • None
    • frontend
    • None
    • Not defined

      When a user logs out or is otherwise unauthorized (token expiry) in C8SM, they are shown the Optimize login page. However, this is never a page that the user should see in C8SM as authentication happens in Identity.

      With this in mind, we should refresh the page when a 401 is returned to reinitiate the auth flow with Identity. We already do similar for C8SaaS.

      AT:

      • C8SM users are never shown the Optimize login page
      • After logging out of Optimize, users are redirected to Identity
      • If reauthenticated, the redirect back to Optimize is successful

      Testing notes:

      • Validate the ATs above

      Notes:

      • We should consider backporting this to the maintenance/3.9 branch too, because the Identity integration with log out also exists there

       

      Testing notes:

      • It should possible to logout out in platform and self-managed mode
      • Logging out in platform mode takes you to the optimize login page
      • Logging out in self-managed mode, takes you to keycloak login page
      • We should also test what happens when the session times out in both cloud and self-managed
        We can test this by deleting the cookies after logging in and trying to interact with Optimize. In this case, the page should refresh and new authentication cookies will be set, allowing the user to continue using Optimize with no issues.

        This is the controller panel for Smart Panels app

              Unassigned Unassigned
              joshua.windels Joshua Windels
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: