Registry / web-framework / gofiber-jwt-v3

gofiber-jwt-v3

JSON →
library3.3.10gogounverified

JWT middleware for the Fiber web framework, providing authentication via JSON Web Tokens.

go get github.com/gofiber/jwt/v3
INSTALL
IMPORT
SIG · GOFIBER-JWT-V3
G
gofiber-jwt-v3
web-frameworkgov3.3.10
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

jwt
github.com/gofiber/jwt/v3

Minimal Fiber app with JWT middleware protecting a route.

package main import ( "github.com/gofiber/fiber/v2" jwtware "github.com/gofiber/jwt/v3" ) func main() { app := fiber.New() app.Use(jwtware.New(jwtware.Config{ SigningKey: []byte("secret"), })) app.Get("/protected", func(c *fiber.Ctx) error { return c.SendString("Protected route") }) app.Listen(":3000") }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
3.3.10latest on pkg.go.dev
Audit
Dependencies

No dependency data recorded yet.

Agent activity
16 hits · last 30 days
node
14
OpenAI (training)
1
Resources
gofiber-jwt-v3 — go get gofiber-jwt-v3 · libregistry