# 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](https://docs.goauthentik.io/docs/sources/discord/#syncing-discord-roles-to-authentik-groups) 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
Raw data
{
"_id": null,
"home_page": "https://pypi.org/project/discord-to-authentik/",
"name": "discord-to-authentik",
"maintainer": null,
"docs_url": null,
"requires_python": "<4.0,>=3.12",
"maintainer_email": null,
"keywords": null,
"author": "Dominik Rathmer",
"author_email": "dominik@rathmer.me",
"download_url": "https://files.pythonhosted.org/packages/78/d5/0f34d7eeb1d14fa0447fa3190a17b4232a417fb4ab6cf4cc30f9e8784f2d/discord_to_authentik-0.1.1.tar.gz",
"platform": null,
"description": "# Discord to Authentik\n\nA Discord bot that synchronizes your discord roles to Authentik groups.\n\n# Preamble\n\nI really like using the Discord Login functionality of Authentik. And also the great Guides that have been written for it.\n\nAlthough it did bother me that i had to create the groups manually instead of Authentik syncing them from my Discord instance on demand.\n\nSo i created this solution that allows you to synchronize all your Discord roles to Authentik groups with the required `discord_role_id` attribute!\n\nThis is a great complimentary application to [this](https://docs.goauthentik.io/docs/sources/discord/#syncing-discord-roles-to-authentik-groups) guide!\n\n## Sounds great. How do i install and use it?\n\nThe installation is as simple as executing those following commands:\n```\npipx install --global discord-to-authentik\nsudo discord-to-authentik-setup\n```\n\nThen you type `!sync` into the Discord Guild your bot runs in to synchronize the slash command `sync_roles`.\nFrom this point you can just do `/sync_roles` whenever you want to synchronize your discord roles with your Authentik instance.\n\nEnjoy \u2728\n\n## Installing on NixOS\n\nTODO",
"bugtrack_url": null,
"license": "GPLv3",
"summary": "Synchronize roles you create in Discord to Authentik for Discord Auth managment",
"version": "0.1.1",
"project_urls": {
"Homepage": "https://pypi.org/project/discord-to-authentik/",
"Repository": "https://github.com/rathmerdominik/discord-to-authentik"
},
"split_keywords": [],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "c8d9370c39cb5d9bd89e011302f18623de2f1bb2f22f551048622262edddbbde",
"md5": "8e717cdb6f1f6d87d2ae5164d1576bd9",
"sha256": "c37a2160577496324c0ecaa7c9c4cc7a4676bc93c0705a49a3fe13116c1777ef"
},
"downloads": -1,
"filename": "discord_to_authentik-0.1.1-py3-none-any.whl",
"has_sig": false,
"md5_digest": "8e717cdb6f1f6d87d2ae5164d1576bd9",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": "<4.0,>=3.12",
"size": 16756,
"upload_time": "2024-09-05T16:37:05",
"upload_time_iso_8601": "2024-09-05T16:37:05.005145Z",
"url": "https://files.pythonhosted.org/packages/c8/d9/370c39cb5d9bd89e011302f18623de2f1bb2f22f551048622262edddbbde/discord_to_authentik-0.1.1-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "78d50f34d7eeb1d14fa0447fa3190a17b4232a417fb4ab6cf4cc30f9e8784f2d",
"md5": "32d48bb2f9e4e9fcf26a509787b770a6",
"sha256": "19e9a1a2ce4ea4a108fdd5959fe4c8f0c9eed6e342acd196f9a09799da580bf1"
},
"downloads": -1,
"filename": "discord_to_authentik-0.1.1.tar.gz",
"has_sig": false,
"md5_digest": "32d48bb2f9e4e9fcf26a509787b770a6",
"packagetype": "sdist",
"python_version": "source",
"requires_python": "<4.0,>=3.12",
"size": 15722,
"upload_time": "2024-09-05T16:37:06",
"upload_time_iso_8601": "2024-09-05T16:37:06.024002Z",
"url": "https://files.pythonhosted.org/packages/78/d5/0f34d7eeb1d14fa0447fa3190a17b4232a417fb4ab6cf4cc30f9e8784f2d/discord_to_authentik-0.1.1.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2024-09-05 16:37:06",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "rathmerdominik",
"github_project": "discord-to-authentik",
"travis_ci": false,
"coveralls": false,
"github_actions": false,
"lcname": "discord-to-authentik"
}