Closed parkmap closed 3 years ago
Hello,
payload
is dynamic
, so accept any types of values. I tried your crash case and its works for me, do you have the last version ?
Hi, Thanks for comment!
I guess only my project have this issue.. maybe some state conflict issue. I don't know the problem yet..
logs is below
I got this error only on crash case.
Crashed at payload Id is not defined or is not int value.
is not acceptable to change string value at first JWT?
crash case
final jwt = JWT( { 'id': 'text', 'server': { 'id': '3e4fc296', 'loc': 'euw-2', } }, issuer: 'https://github.com/jonasroussel/jsonwebtoken', );
work case
final jwt = JWT( { 'id': 123, 'server': { 'id': '3e4fc296', 'loc': 'euw-2', } }, issuer: 'https://github.com/jonasroussel/jsonwebtoken', );