Closed sylvainlap closed 5 years ago
Hi,
Your README suggest to use a POST route to create a token, but this does not work out of the box. After debugging your code, I saw the allowPost option, that is undefied by default.
allowPost
undefied
You should set it to true by default, or at least document it.
true
Thanks ! Sylvain
Thanks @sylvainlap I have updated the source code and removed the allowPost parameter, accepting the req.body field by default.
req.body
Hi,
Your README suggest to use a POST route to create a token, but this does not work out of the box. After debugging your code, I saw the
allowPost
option, that isundefied
by default.You should set it to
true
by default, or at least document it.Thanks ! Sylvain