danny-avila / LibreChat

Enhanced ChatGPT Clone: Features Anthropic, AWS, OpenAI, Assistants API, Azure, Groq, o1, GPT-4o, Mistral, OpenRouter, Vertex AI, Gemini, Artifacts, AI model switching, message search, langchain, DALL-E-3, ChatGPT Plugins, OpenAI Functions, Secure Multi-User System, Presets, completely open-source for self-hosting. Actively in public development.
https://librechat.ai/
MIT License
19.44k stars 3.24k forks source link

feat: google workspace limit access to a single group #4613

Open owengo opened 4 weeks ago

owengo commented 4 weeks ago

Pull Request Template

⚠️ Documentation Updates Notice:

Summary

https://github.com/danny-avila/LibreChat/discussions/1746 When google login is configured for a workspace account the feature permits to restricts logins to members of a group.

Change Type

Please delete any irrelevant options.

Testing

Test Configuration:

The feature works with google workspaces accounts. A group must be created in the workspace account and member of the group must be allowed to see the members of the group. The email address of the group has to be configured in the .env as GOOGLE_WORKSPACE_GROUP= Note that the group can contain other groups and all member of the included groups will also be allowed.

Checklist

Please delete any irrelevant options.