[x] New feature (non-breaking change which adds functionality)
[x] This change requires a documentation update
Testing
If the GOOGLE_WORKSPACE_GROUP is not defined in the .env,or if it's empty, nothing changes: all members of the workspace account can login and no extra scopes are required in the oauth2 consent screen.
is allowed to list the members of the configured group
is member of the configured group
access is granted normally
else
access is refused and user is redirected to the login page at the end of oauth process
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.
[x] My code adheres to this project's style guidelines
[x] I have performed a self-review of my own code
[x] I have commented in any complex areas of my code
[x] I have made pertinent documentation changes
[x] My changes do not introduce new warnings
[x] A pull request for updating the documentation has been submitted.
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.