So in my backend, I want to achieve optional authentication. If user logged in, I'll get JWT and pass it to a function, if not I'll call a different function and return to the user. How can I achieve this? I've tried to change jwt.GinJWTMiddleware but couldn't do it.