Skip to content

πŸ‘» Simple middleware to integrate authentication to your applications

License

Notifications You must be signed in to change notification settings

ZEISS/fiber-goth

Folders and files

NameName
Last commit message
Last commit date
Oct 28, 2024
Mar 17, 2025
Oct 29, 2024
Oct 29, 2024
Oct 28, 2024
Oct 28, 2024
Oct 19, 2024
Mar 21, 2025
Feb 26, 2024
Jan 27, 2024
Jan 27, 2024
Oct 2, 2024
Oct 28, 2024
Jun 12, 2024
Jan 29, 2024
Jan 27, 2024
Oct 19, 2024
Oct 29, 2024
Sep 6, 2024
Apr 7, 2025
Apr 7, 2025
Oct 28, 2024
Feb 8, 2024

Repository files navigation

πŸ‘» Goth

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

A fiber πŸš€ 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