Synchronize roles you create in Discord to Authentik for Discord Auth managment
Project description
Discord to Authentik
A Discord bot that synchronizes your discord roles to Authentik groups.
Preamble
I really like using the Discord Login functionality of Authentik. And also the great Guides that have been written for it.
Although it did bother me that i had to create the groups manually instead of Authentik syncing them from my Discord instance on demand.
So i created this solution that allows you to synchronize all your Discord roles to Authentik groups with the required discord_role_id
attribute!
This is a great complimentary application to this guide!
Sounds great. How do i install and use it?
The installation is as simple as executing those following commands:
pipx install --global discord-to-authentik
sudo discord-to-authentik-setup
Then you type !sync
into the Discord Guild your bot runs in to synchronize the slash command sync_roles
.
From this point you can just do /sync_roles
whenever you want to synchronize your discord roles with your Authentik instance.
Enjoy ✨
Installing on NixOS
TODO
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file discord_to_authentik-0.1.1.tar.gz
.
File metadata
- Download URL: discord_to_authentik-0.1.1.tar.gz
- Upload date:
- Size: 15.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.8.3 CPython/3.12.4 Linux/6.10.1-arch1-1
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 19e9a1a2ce4ea4a108fdd5959fe4c8f0c9eed6e342acd196f9a09799da580bf1 |
|
MD5 | 32d48bb2f9e4e9fcf26a509787b770a6 |
|
BLAKE2b-256 | 78d50f34d7eeb1d14fa0447fa3190a17b4232a417fb4ab6cf4cc30f9e8784f2d |
File details
Details for the file discord_to_authentik-0.1.1-py3-none-any.whl
.
File metadata
- Download URL: discord_to_authentik-0.1.1-py3-none-any.whl
- Upload date:
- Size: 16.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.8.3 CPython/3.12.4 Linux/6.10.1-arch1-1
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | c37a2160577496324c0ecaa7c9c4cc7a4676bc93c0705a49a3fe13116c1777ef |
|
MD5 | 8e717cdb6f1f6d87d2ae5164d1576bd9 |
|
BLAKE2b-256 | c8d9370c39cb5d9bd89e011302f18623de2f1bb2f22f551048622262edddbbde |