authn

module
v0.0.0-...-bd6056c Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 26, 2026 License: Apache-2.0

README

Authn

This project provides authentication for reverse proxies, supporting:

  • Third party Login (Google Login)
  • Local accounts (allow sign up with invitation code)
  • HTTP basic auth (used in front of my webdav)

It functions as an OIDC provider, including an additional "roles" field for authorization purposes.

It uses a database (sqlite or postgresql) to store users.

Configuration

The application is configured via a YAML file. See config.sample.yaml for example.

Usage

go run cmd/authm/main.go -c config.yaml

Caution

This project is intended for self-hosted home use and does not constitute a full OIDC implementation.

The deployment is not scalable, for example the storage of the auth_code is in cache rather than a database.

Directories

Path Synopsis
cmd
authn command
manualtest command
internal
gormw
Package gormw provides a wrapped gorm.
Package gormw provides a wrapped gorm.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL