local_auth

command
v0.3.0 Latest Latest
Warning

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

Go to latest
Published: May 12, 2026 License: MIT Imports: 9 Imported by: 0

README

Local Auth Plugin

This plugin implements the Syfon AuthenticationPlugin interface for local (basic auth) authentication.

Usage

Build the plugin binary:

go build -o local_auth_plugin .

Set the following environment variables as needed:

  • DRS_BASIC_AUTH_USER and DRS_BASIC_AUTH_PASSWORD for basic auth credentials

The built-in server local auth path also supports DRS_LOCAL_AUTHZ_CSV for multi-user local authorization tests. If no CSV is configured, local Basic Auth continues to behave as a single admin user.

Configure Syfon to use the plugin:

export SYFON_AUTHN_PLUGIN_PATH=/path/to/local_auth_plugin
syfon serve

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

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