Go script for syncing LDAP user group membership to Gitea
 
 
 
Go to file
Selukov Andrey acc2f12acc have a good time 2019-11-28 23:40:43 +07:00
images have a good time 2019-11-28 23:40:43 +07:00
Dockerfile have a good time 2019-11-28 23:40:43 +07:00
README.md Update README 2019-11-28 16:20:10 +00:00
docker-compose.yml have a good time 2019-11-28 23:40:43 +07:00
gitea-group-sync.go have a good time 2019-11-28 23:40:43 +07:00
requests.go have a good time 2019-11-28 23:40:43 +07:00
run.sh have a good time 2019-11-28 23:40:43 +07:00
types.go have a good time 2019-11-28 23:40:43 +07:00

README.md

Gitea-group-sync

This application adds users to the appropriate groups.

You must have configured your LDAP with gitea

Here I will give the settings for a simple LDAP, you can configure by changing the code as you like

If you configured the gitea <=> LDAP connection correctly, you should have users

You need to create Manage Access Tokens and add key to run.sh or docker-compose.yml the configuration file

The application supports several keys, since to add people to the group you must be the owner of the organization.