Skip to content

rucciva/giteaty

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

58 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Gitea Identity

Expose gitea users' identity through:

LDAP Server

Look at docker-compose.yml for refference on how to run the LDAP Server

Caddy V1 Plugin

To use it with caddy, you need to build caddy yourself and include the plugin, such as:

package main

import (
    "github.com/caddyserver/caddy/caddy/caddymain"
    "github.com/caddyserver/caddy/caddyhttp/httpserver"
    _ "github.com/rucciva/giteaty/cmd/giteaty-caddy"
    // add additional plugins as needed
)

func main() {
    httpserver.RegisterDevDirective("giteaty", "authz")
    caddymain.Run()
}

Look at the test files to see examples.

Development

Build and Test

make generate
make build
make test

Build Docker Image

cd build/docker
docker-compose \
    -f docker-compose.yml \
    -f docker-compose.production.yml \
    build giteaty
cd ../../

About

Expose gitea users' authentication data.

Topics

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages