Closed CuriouzK0d3r closed 2 years ago
LGTM at first sight, could you also write some documentation on using the new feature (+ screenshots if you have)? Also how can the admin limit the users that enter the system, are the google-logged first-time users entering the "pending approval" workflow as discussed? Otherwise new google logged-in users can become users without any admin approval.
A new user using the Google SSO will be added with 'pending' privileges. So it is like creating a new user with credentials.
Maybe instead of "Login with Google" we should have a "Login via SSO" button which, when pressed, shows the available SSO login options in drop-down? We can start with a single one (Google), it seems more scalable to treat it this way I think (plus we may add more SSO options in the drop-down menu in the future)
What do you think?
What do you think?
Yes that is fine
As discussed, we need also documentation on this:
@CuriouzK0d3r could you check if the bug with the mongo-stored user is resolved and update the PR with the master
base? Then it can be merged I think, LGTM
Description of PR
Added Google SSO
What component(s) does this PR affect?
[ ] Back-End (Node.js, Next.js)
[x] Front-End (React.js)
[ ] Theming (CSS, React theme)
[ ] Build System
[ ] Docs
Does the PR require changes on other components? If yes, please mark the components:
[ ] Back-End (Node.js, Next.js)
[ ] Front-End (React.js)
[ ] Theming (CSS, React theme)
[ ] Build System
[ ] Docs
Related Issue
Resolves #
Solution
Type
[ ] None of the above
Checklist: