[FEAT] Login by social providers (Google for now)
Pull Request Type
- [x] ✨ feat
- [ ] 🐛 fix
- [ ] ♻️ refactor
- [ ] 💄 style
- [ ] 🔨 chore
- [ ] 📝 docs
Relevant Issues
resolves #1193
What is in this change?
This PR introduces the ability for users to log in using their Google accounts, providing the flexibility for administrators to enable or disable this feature. Additionally, administrators can restrict login access to a specific organization's domain. The implementation is designed with a modular structure, allowing for easy integration of additional authentication providers in the future.
Additional Information
After enable login by google:
Developer Validations
- [x] I ran
yarn lintfrom the root of the repo & committed changes - [x] Relevant documentation has been updated
- [x] I have tested my code functionality
- [x] Docker build succeeds locally
Damn, this is awesome!
Hey @timothycarambat, are there any intentions to work on this PR? It looks really good
@emilioh93 There is nothing wrong with the PR, it just needs to be reviewed and we need documentation to set it up because I dont want to be responsible for 400 github issues from people setting it up incorrectly and saying it is broken!
From what i already tested, it works great & will be merged
@emilioh93 There is nothing wrong with the PR, it just needs to be reviewed and we need documentation to set it up because I dont want to be responsible for 400 github issues from people setting it up incorrectly and saying it is broken!
From what i already tested, it works great & will be merged
@timothycarambat, thanks for your reply. I agree that documentation is crucial to avoid configuration issues. I appreciate your time and effort in reviewing this PR.
What are the places where should one put the documentation?
@matejc Our docs repo https://github.com/Mintplex-Labs/anythingllm-docs
Oh I am excited about this feature, thanks!
It's great! It simply opens the path for other login methods such as LDAP. Ideal for self hosted in a small company.
this would be a fantastic feature! Waiting for this to get merged.