Hello,

I'm in the process of writing an HTTP API with Go. I use a middleware for 
generating and validating JWT tokens. On any incoming request the 
middleware checks the JWT and validates it. If valid it adds it to the 
request header and calls the next handler. 

Is it save to use the JWT in the next handler without validating it again 
and using the claims?

Best,
Martin

-- 
You received this message because you are subscribed to the Google Groups 
"golang-nuts" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to golang-nuts+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/golang-nuts/69d031e5-2a11-4904-84d6-1e67c0bc85a9%40googlegroups.com.

Reply via email to