I have an API that requires a header that contains a current timestamp when making a request for an access token. I'm trying to use moment().unix()
in a javascript block as the first step in custom auth but I'm getting the error
Javascript Request in Step 1 failed : ReferenceError: moment is not defined
I've also tried to use it with the header value field as well like
{{ moment().unix() }}
but the request contains the raw value
Is someone able to confirm that moment() is not currently available within Resources?