Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/zeiss/fiber-goth
👻 Simple middleware to integrate authentication to your applications
https://github.com/zeiss/fiber-goth
fiber golang gothic middleware
Last synced: 4 days ago
JSON representation
👻 Simple middleware to integrate authentication to your applications
- Host: GitHub
- URL: https://github.com/zeiss/fiber-goth
- Owner: ZEISS
- License: mit
- Created: 2024-01-27T17:26:12.000Z (10 months ago)
- Default Branch: main
- Last Pushed: 2024-10-29T09:17:06.000Z (15 days ago)
- Last Synced: 2024-10-29T11:06:59.494Z (15 days ago)
- Topics: fiber, golang, gothic, middleware
- Language: Go
- Homepage:
- Size: 20.1 MB
- Stars: 5
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# 👻 Goth
[![Test & Build](https://github.com/zeiss/fiber-goth/actions/workflows/main.yml/badge.svg)](https://github.com/zeiss/fiber-goth/actions/workflows/main.yml)
[![Go Reference](https://pkg.go.dev/badge/github.com/zeiss/fiber-goth.svg)](https://pkg.go.dev/github.com/zeiss/fiber-goth)
[![Go Report Card](https://goreportcard.com/badge/github.com/zeiss/fiber-goth)](https://goreportcard.com/report/github.com/zeiss/fiber-goth)
[![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)
[![Taylor Swift](https://img.shields.io/badge/secured%20by-taylor%20swift-brightgreen.svg)](https://twitter.com/SwiftOnSecurity)A [fiber](https://gofiber.io/) :rocket: middleware to integrate authentication to your application. It uses lightweight `adapters` and `providers` interfaces to integrate with multi-providers.
## Installation
```bash
$ 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.
```golang
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](https://github.com/zeiss/fiber-goth/tree/master/examples) to understand the provided interfaces
## License
[MIT](/LICENSE)