Project Awesome project awesome

Third Party > zeiss/fiber-goth

Simple middleware to integrate authentication to your Fiber applications.

Package 5 stars GitHub

👻 Goth

Test & Build Go Reference Go Report Card License: MIT Taylor Swift

A fiber :rocket: middleware to integrate authentication to your application. It uses lightweight adapters and providers interfaces to integrate with multi-providers.

Installation

$ go get github.com/zeiss/fiber-goth

Providers

  • GitHub (github.com, Enterprise, and Enterprise Cloud)
  • Microsoft Entra ID

CSRF

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.

Examples

See examples to understand the provided interfaces

License

MIT

Back to Fiber