Closed dborysov closed 4 years ago
@dborysov
Produce (sign/encrypt) iat
option is in fact a boolean, not a string.
https://github.com/panva/paseto/tree/v1.0.4/docs#v2signpayload-key-options
iat:
When true it pushes the "iat" to the PASETO payload. Default: 'true'
https://github.com/panva/paseto/blob/v1.0.4/lib/help/apply_options.js#L12-L20
Fixing the type of the
iat
field: it should bestring
, notboolean