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

Session Cookie expiry date is not converted correctly to UTC

    XMLWordPrintable

Details

    • Bug Report
    • Resolution: Fixed
    • L3 - Default
    • 3.0.0
    • 3.0.0
    • backend
    • None

    Description

      Given:
      When:

      I authenticate successfully with Optimize

      Then:
      The expiry timestamp of the cookie is set according to the configured `auth.token.lifeMin`
      of the current timezone, but that same timestamp is returned with the UTC timezone without instant conversion. 
      E.g. server zone is UTC+1, the calculated expiry time is 2020-03-11T15:43:10.973+0100 and returned as 2020-03-11T15:43:10.973Z

      Expected:

      The expiry timestamp of the cookie is set according to the configured `auth.token.lifeMin` value, converted to UTC at the same instant and returned
      E.g. server zone is UTC+1, the calculated expiry time is 2020-03-11T15:43:10.973+0100 and returned as 2020-03-11T14:43:10.973Z

      mgm-controller-panel

        This is the controller panel for Smart Panels app

        Attachments

          Activity

            People

              Unassigned Unassigned
              sebastian.bathke Sebastian Bathke
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Salesforce