Mintplex-Labs / anything-llm

The all-in-one Desktop & Docker AI application with full RAG and AI Agent capabilities.
https://useanything.com
MIT License
16.52k stars 1.75k forks source link

Implement Single Sign-On (SSO) Authentication with Azure Active Directory, GitHub, and Google #1193

Open bulik0071 opened 2 months ago

bulik0071 commented 2 months ago

What would you like to see?

I would like to suggest a new feature for the implementation of Single Sign-On (SSO) authentication using Azure Active Directory, GitHub, and Google. This feature would enhance security and streamline the login process by allowing users to authenticate through these widely-used platforms.

Why it would be useful:

This feature could potentially lead to higher user satisfaction and streamline workflows by reducing the barriers to entry. I believe that integrating SSO with these services would make a significant positive impact on the user experience.

cope commented 1 month ago

This would be awesome!

CultusMechanicus commented 1 month ago

Could we also keep a generic "read user from an Auth header" on the radar, as that would open up using basically any third party auth system. For instance, I have Open WebUI header-authenticating via a Cloudflare Access worker tied to Discord and GitHub.

IamTaoChen commented 1 month ago

I use Keycloak. it's better to support generic OIDC.

ozoromo commented 1 week ago

+1 on this feature, would make adoption into pre-existing environments much easier and make it easier for companies to use

derkoe commented 6 days ago

I think using https://authjs.dev/getting-started/installation?framework=express might be the best solution since it supports multiple auth methods. The library used in #1326 only supports Google.

vipr0105 commented 5 days ago

+1, at times majority of documents sit in O365 and SSO/AD integration shall make things more simpler. We could call those documents directly into LLM, by automating the complete process instead of manually feeding via GUI.