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: 30 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 (over 1 year ago)
- Default Branch: main
- Last Pushed: 2025-04-28T04:50:53.000Z (about 1 month ago)
- Last Synced: 2025-04-28T05:30:35.123Z (about 1 month ago)
- Topics: fiber, golang, gothic, middleware
- Language: Go
- Homepage:
- Size: 20.4 MB
- Stars: 5
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# 👻 Goth
[](https://github.com/zeiss/fiber-goth/actions/workflows/main.yml)
[](https://pkg.go.dev/github.com/zeiss/fiber-goth)
[](https://goreportcard.com/report/github.com/zeiss/fiber-goth)
[](https://opensource.org/licenses/MIT)
[](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)