go-zero
go-zero copied to clipboard
Add callback when go zero authentication is successful
Go Zero has a callback after JWT authentication failure, and it is hoped that there will also be a callback when authentication is successful
This scenario is quite special. Can you add another middleware to solve it
I can add a middleware to solve it, but it's tedious and requires that each API can be modified. I really hope to have such a feature to handle globally
王小刚 @.***
I also like the feature, it's little strange that go-zero provides WithUnauthorizedCallback, but don't provide any way to configure it