Nexmo / nexmo-cli

Nexmo CLI (Command Line Interface)
https://nexmo.com
MIT License
78 stars 52 forks source link

"exp" should be a number of seconds when generating JWTs #162

Closed AlexLakatos closed 6 years ago

AlexLakatos commented 6 years ago

Steps to reproduce

nexmo jwt:generate ./private.key sub=alice exp=9000 application_id=APP_ID

Expected behavior

JWT is generated

Actual behavior

Error: "exp" should be a number of seconds

System configuration

Node version: v6.9.1

NPM version: v6.1.0

Operating system: MacOS