Closed superchaoran closed 6 years ago
https://github.com/Jogchat/golang_backend/blob/master/middleware/middleware.go#L27 https://github.com/Jogchat/golang_backend/blob/master/main.go#L48 Already have a middleware token verification assigned to every business logic endpoint.
To avoid frontend hacked client fake call backend without a user authentication.