jwt
jwt copied to clipboard
⚠️ Deprecated repository, available within Fiber Contrib.
This PR includes two parts, one discovered while implementing the feature. 1. A fix for a nil deref bug where Config.KeyRefreshUnknownKID is checked when possibly nil. 2. The feature to...
Does the library comply with https://datatracker.ietf.org/doc/html/rfc7519?
I'm using jwtware to validate user jwt, but I'd like to extract the user_id from the jwt payload and append it to the request header, I could implement my own...
The README mentions that the config property `KeyRefreshUnknownKID` is a boolean defaulting to false, but in code the field on `Config` has type `*bool` and is referenced in [exactly one...
There have been some improvements to `github.com/MicahParks/keyfunc` since this project first supported JWT verification from JWK Sets. Two notable ones are: 1. `github.com/MicahParks/keyfunc` only imports `github.com/golang-jwt/jwt` now. 2. The key...
I found this: https://github.com/gofiber/fiber/issues/207 but it seems that if I use wildcard routing, then I can't use this middleware, I just could handle jwt authentication in custom handler. I want...
Currently on successful validation token is always saved to `ctx.Locals()`, but I'm not sure it's necessary, as if we can always get this information from the `ctx` anyway, either headers,...
Hello, I was wondering if it's and intended behavior... (Code may be better to explain) The default error handler is written ```golang if cfg.ErrorHandler == nil { cfg.ErrorHandler = func(c...
How can I have refresh token when user authenticated?