Google Auth to only invited users

סיכום מבוסס בינה מלאכותית

The discussion revolves around implementing Google Auth for login while restricting access to only invited users within a domain. stevelarsen explains that they want to allow login via Google Auth without requiring password registration, and only permit users whose emails are explicitly added to an approved list. They note that while domain whitelisting is in place, not all users in those domains should have access. codinghorror asks about the size and frequency of changes to the allowed email list. stevelarsen clarifies the workflow: users are added by admin with specific permissions, and upon attempting to log in via Google, their email is checked against the list—only matching emails are granted access. stevelarsen suggests that SAML integration with JIT provisioning, similar to Slack’s G Suite integration, would be ideal, and mentions SCIM support as a valuable addition. codinghorror confirms that SAML is available but requires the enterprise hosting tier due to setup complexity and configuration variations.

We want to have the only way to login via Google Auth but we also need to not allow anyone in our domain to get access. We need to add their email and the permissions they need and then they can logins using Google Auth. What we are finding now is that if I am added as a user I must register with a password first which is what we don’t want; just google auth.

We whitelisted domains that are allowed for the system but not all users in those domains are meant to have discourse access.

How do you see this working? How big is the list of allowed email addresses and how often does it change?

Admin adds user to the accounts list with a corporate email and given appropriate permissions.
User then attempts to sign in using Google. Their email matches one that exists on accounts. User logs in successfully. Else, user email does not match and user is not allowed to login.

Even better is to have a SAML integration. Slack has a great G Suite integration for example with JIT provisioning. Google Workspace single sign-on | Slack

Support for SCIM alongside that would be great

SAML authentication exists, but it is a part of our enterprise hosting tier because it is difficult to set up and every SAML instance has its own peculiarities..