appleboy / gin-jwt

JWT Middleware for Gin framework
MIT License
2.77k stars 388 forks source link

How to get claim message in LogoutResponse #285

Open moluzhui opened 2 years ago

moluzhui commented 2 years ago

How to get claim information in LogoutResponse in order to parse the data for some information?

ABazingaE commented 1 year ago

I think the proper way to get cliam is using jwt.ExtractClaims(c) , but I get empty claim, I have completed PayloadFunc before. Do you solve the problem?