1. 程式人生 > >invalid operation: token.Claims["ID"] (type jwt.Claims does not support indexing) #143

invalid operation: token.Claims["ID"] (type jwt.Claims does not support indexing) #143

This is working fine in my localhost, but when i'm trying it in aws ec2..i cant build and i'm getting the ff. error
screen shot 2016-06-18 at 10 26 39 am

and here is my code
screen shot 2016-06-18 at 10 21 46 am