jwt-tutorial-flutter icon indicating copy to clipboard operation
jwt-tutorial-flutter copied to clipboard

https://carmine.dev/posts/jwtauth/

Results 2 jwt-tutorial-flutter issues
Sort by recently updated
recently updated
newest added

https://github.com/carzacc/jwt-tutorial-flutter/blob/dcda3bd36107e416bbe4b43afd5ab3bb432eddf7/lib/main.dart#L39 The if statement should be: ``` if(DateTime.now().isAfter(DateTime.fromMillisecondsSinceEpoch(payload["exp"] * 1000))){ } ``` Your statement always return true as the value is negative. Thank You.

It's instructional. Combined with the backend change, this shows what happens when there is an expired token (after 30seconds on my other pull request) And, it allows for deleting the...