In Cockpit, I can't use OAuth

XMLWordPrintable

    • Type: Bug Report
    • Resolution: Fixed
    • Priority: L3 - Default
    • 7.14.4
    • Affects Version/s: 7.14.1, 7.15.0-alpha1
    • Component/s: cockpit

      What are the steps to reproduce your problem?

      • Use Cockpit v7.14
      • Block the /profile call with a 404
      • try to navigate

      What is the problem?

      • I get redirected to /login

      What would be the expected behavior:

      • User Menu gets disabled

      Hints (optional):
      This is caused by the withUser HOC: https://github.com/camunda/camunda-bpm-platform/blob/5a8574475c3b6597d7e543d107b991c60dee3939/webapps/ui/cockpit/src/modules/HOC/withUser.js#L60

      Refactoring is needed to decuple the user profile from the login state

            Assignee:
            Hariharan Parasuraman
            Reporter:
            Martin Stamm
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: