A fiber 🚀 middleware to integrate authentication to your application. It uses lightweight adapters
and providers
interfaces to integrate with multi-providers.
$ go get github.com/zeiss/fiber-goth
- GitHub (github.com, Enterprise, and Enterprise Cloud)
- Microsoft Entra ID
The middleware supports CSRF protection. It is added via the following package.
import "github.com/zeiss/fiber-goth/csrf"
app := fiber.New()
app.Use(csrf.New())
The CSRF protection depends on the session middleware.
See examples to understand the provided interfaces