gin-jwt
gin-jwt copied to clipboard
JWT Middleware for Gin framework
 it will be good to delete the time.UCT() in the TokenGenerator
If the token timeout is reached, a 401 error will appear when requesting a refresh token. I know that request a refresh token after the token is expired , but...
New to web development. I was wondering how to get token if I need respond token in register API. I do not use the middleware in register router we cannot...
Hi! While using this code in my project I noticed there is no explicit option to omit both `Max-Age` and `Expires` parameters in a cookie handed-out when `SendCookie` parameter is...
I am trying to test my API's which are having different expiration time, so I had written my custom MiddlewareFunc. Claims will be validated in this custom function that's need...
How to get claim information in `LogoutResponse` in order to parse the data for some information?
I've forked this repo and added a function to make having a JWT token optional, which leaves it up to the code downstream to determine if authentication is needed. I...
Hey, I'm new to JWT and Go in general. I'm confused as to what a `Realm` is in the context of JWT's. I've looked everywhere I could and `gin-jwt` seems...