• Icon: Task Task
    • Resolution: Unresolved
    • Icon: L3 - Default L3 - Default
    • None
    • None
    • backend
    • None
    • Not defined

      In SaaS, Optimize presents a list of digest recipients by fetching users from the accounts service. To do this, it uses a service token that it can find from the Spring framework. This is not a sufficient method, as the token most likely just belongs to the most recent user, and not necessarily someone who has or will always have permission to fetch the owner. We even see some errors in the logs because of this.

      As part of https://github.com/camunda/product-hub/issues/1778, Optimize will be able to use an m2m token to do this instead, making user fetching much more robust. Optimize need to refactor this to make use of such token, probably in a similar way to how integration with the notification service works.

        This is the controller panel for Smart Panels app

            [OPT-7503] Use m2m token for user fetching

            This ticket was migrated to github: https://github.com/camunda/camunda-optimize/issues/10123. Please use this link for any future references and continue any discussion there.

            Omran Abazeed added a comment - This ticket was migrated to github: https://github.com/camunda/camunda-optimize/issues/10123 . Please use this link for any future references and continue any discussion there.

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

                Created:
                Updated: