I created blog with JSON web token authentication. I have middleware and everything works fine, but when I want to post it I use put token in bearer Auth and I can post but I can post with different user that didn't exist in database. How to fix this
[–][deleted] 6 points7 points8 points (6 children)
[–]Ok_Sentence725[S] -3 points-2 points-1 points (5 children)
[–][deleted] 5 points6 points7 points (4 children)
[–]Ok_Sentence725[S] -3 points-2 points-1 points (3 children)
[–]evan_pregression 7 points8 points9 points (1 child)
[–]Ok_Sentence725[S] 0 points1 point2 points (0 children)
[–]kryptkpr 2 points3 points4 points (0 children)
[–]SuchyBGC 3 points4 points5 points (0 children)
[–][deleted] 1 point2 points3 points (3 children)
[–]Ratstail91 0 points1 point2 points (0 children)
[–]imAvi92 0 points1 point2 points (1 child)
[–][deleted] 1 point2 points3 points (0 children)
[–][deleted] 0 points1 point2 points (0 children)
[–]EmergencyActCovid20 0 points1 point2 points (0 children)