[PR #2104] [CLOSED] feat: add Authelia as SSO provider #2070

Closed
opened 2026-02-26 03:33:12 +03:00 by kerem · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/koel/koel/pull/2104
Author: @DanielRamosAcosta
Created: 9/13/2025
Status: Closed

Base: masterHead: feature/add-authelia-sso


📝 Commits (5)

  • 6407b97 chore: add initial devcontainer config
  • fdec72a chore: add .pnpm-store to .gitignore
  • c9aa9e9 feat: add Authelia SSO integration with login button and callback handling
  • 3ef9ee7 chore: add Authelia SSO provider only if configured
  • ddfa79f chore: remove comments

📊 Changes

14 files changed (+345 additions, -2 deletions)

View changed files

.devcontainer/Dockerfile (+29 -0)
.devcontainer/devcontainer.json (+25 -0)
📝 .env.example (+6 -0)
📝 .gitignore (+2 -0)
📝 app/Helpers.php (+8 -0)
app/Http/Controllers/SSO/AutheliaCallbackController.php (+22 -0)
📝 app/Providers/AppServiceProvider.php (+13 -0)
📝 composer.json (+2 -1)
📝 composer.lock (+125 -1)
📝 config/services.php (+7 -0)
resources/assets/img/logos/authelia.svg (+71 -0)
📝 resources/assets/js/components/auth/LoginForm.vue (+2 -0)
resources/assets/js/components/auth/sso/AutheliaLoginButton.vue (+29 -0)
📝 routes/web.base.php (+4 -0)

📄 Description

Hi 👋

This is an initial draft PR to start a conversation and see what you think about adding support for Authelia as an SSO provider, leveraging Socialite providers.

I purchased a Koel Plus license because I really like the project and wanted to integrate it into my SSO flow. However, I only realized afterwards that the current SSO feature supports Google only 🫠.

With this PR I’d like to:

  • Explore the possibility of integrating Authelia as a login provider.
  • Get feedback on whether this type of contribution fits into the project’s vision.
  • Receive some guidance to make the implementation more polished.

Additionally, I’ve added support for development with Dev Containers, to make it easier to spin up a quick, self-contained development environment.

In particular, I’d need help with E2E testing against an Authelia instance, since the Koel Docker image is generated from the current release, which makes manual testing trickier. Before investing more time setting up a full test environment, I’d love to confirm whether you see this as something that could be integrated in the first place.

Thanks a lot for your time and for this amazing project 🙏


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/koel/koel/pull/2104 **Author:** [@DanielRamosAcosta](https://github.com/DanielRamosAcosta) **Created:** 9/13/2025 **Status:** ❌ Closed **Base:** `master` ← **Head:** `feature/add-authelia-sso` --- ### 📝 Commits (5) - [`6407b97`](https://github.com/koel/koel/commit/6407b97dbbd007f7a79a75cd05e0ad94e352aa09) chore: add initial devcontainer config - [`fdec72a`](https://github.com/koel/koel/commit/fdec72aa96443aa9b06d8a9ed2750ddba26d68b6) chore: add .pnpm-store to .gitignore - [`c9aa9e9`](https://github.com/koel/koel/commit/c9aa9e93a639d2731be5d04ae02e047b98a2eb2b) feat: add Authelia SSO integration with login button and callback handling - [`3ef9ee7`](https://github.com/koel/koel/commit/3ef9ee7cf0b8e81ce41b5f3875dd24e84be6f265) chore: add Authelia SSO provider only if configured - [`ddfa79f`](https://github.com/koel/koel/commit/ddfa79f265ba93b2561ceb6a2803f6764c220d47) chore: remove comments ### 📊 Changes **14 files changed** (+345 additions, -2 deletions) <details> <summary>View changed files</summary> ➕ `.devcontainer/Dockerfile` (+29 -0) ➕ `.devcontainer/devcontainer.json` (+25 -0) 📝 `.env.example` (+6 -0) 📝 `.gitignore` (+2 -0) 📝 `app/Helpers.php` (+8 -0) ➕ `app/Http/Controllers/SSO/AutheliaCallbackController.php` (+22 -0) 📝 `app/Providers/AppServiceProvider.php` (+13 -0) 📝 `composer.json` (+2 -1) 📝 `composer.lock` (+125 -1) 📝 `config/services.php` (+7 -0) ➕ `resources/assets/img/logos/authelia.svg` (+71 -0) 📝 `resources/assets/js/components/auth/LoginForm.vue` (+2 -0) ➕ `resources/assets/js/components/auth/sso/AutheliaLoginButton.vue` (+29 -0) 📝 `routes/web.base.php` (+4 -0) </details> ### 📄 Description Hi 👋 This is an initial draft PR to start a conversation and see what you think about adding support for **Authelia** as an SSO provider, leveraging Socialite providers. I purchased a Koel Plus license because I really like the project and wanted to integrate it into my SSO flow. However, I only realized afterwards that the current SSO feature supports Google only 🫠. With this PR I’d like to: * Explore the possibility of integrating **Authelia** as a login provider. * Get feedback on whether this type of contribution fits into the project’s vision. * Receive some guidance to make the implementation more polished. Additionally, I’ve added support for development with Dev Containers, to make it easier to spin up a quick, self-contained development environment. In particular, I’d need help with **E2E testing against an Authelia instance**, since the Koel Docker image is generated from the current release, which makes manual testing trickier. Before investing more time setting up a full test environment, I’d love to confirm whether you see this as something that could be integrated in the first place. Thanks a lot for your time and for this amazing project 🙏 --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-02-26 03:33:12 +03:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/koel-koel#2070
No description provided.