Session Cookie expiry date is not converted correctly to UTC

XMLWordPrintable

    • Type: Bug Report
    • Resolution: Fixed
    • Priority: L3 - Default
    • 3.0.0
    • Affects Version/s: 3.0.0
    • Component/s: backend
    • None

      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

        This is the controller panel for Smart Panels app

              Assignee:
              Unassigned
              Reporter:
              Sebastian Bathke
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Created:
                Updated:
                Resolved: