SolarFlux token authentication broken

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: Major
    • Component/s: DB, SolarFlux
    • None

      The token based client authentication SolarFlux performs is currently not working. Upon investigation, I found that the request signature is not being computed correctly in the database function that is being invoked. The date HTTP header is not being formatted correctly so the day of the month has a leading 0 when less than 10.

      For example, today a date is getting formatted like:

      x-sn-date:Mon, 4 Feb 2019 22:50:59 GMT
      

      but this should actually be

      x-sn-date:Mon, 04 Feb 2019 22:50:59 GMT
      

      The function responsible is solaruser.snws2_canon_request_data(timestamptz, text, text).

            Assignee:
            Matt Magoffin
            Reporter:
            Matt Magoffin
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: