-
Notifications
You must be signed in to change notification settings - Fork 186
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Feat: prevent non work emails #3993
base: main
Are you sure you want to change the base?
Conversation
|
|
What you've done to block domains on the backend is sound, but I would put the same logic within the body of How this will behave with Google SSO is that they will always be able to complete the sign in flow, but we'll prevent new user registration if the email is on the blacklist. So "chuck@speckle.systems" is ok, but "chuck@gmail.com" is not. I'll take a look at how we can limit this set of changes to |
Checking canonical URL sounds easy, vs a FF which one you think makes most sense? I have local changes to add the FF if we wanna go that route 😄 |
And remember that this is an experiment for now. So we should try to be pragmatic if there are ways to cut corners. |
Probably both is good imo! |
FE-wise the only question is wether to block personal emails in invite or allow them, either isn't much work, it's mostly a product question |
When blocking in invite would you do it in the actual invite flow or when the user tries to sign up using that email? Or both. I'm not sure yet if blocking on invite is needed to start. I don't think so right now. |
📸 Preview service has generated an image. |
📸 Preview service has generated an image. |
📸 Preview service has generated an image. |
📸 Preview service has generated an image. |
📸 Preview service has generated an image. |
📸 Preview service has generated an image. |
📸 Preview service has generated an image. |
📸 Preview service has generated an image. |
📸 Preview service has generated an image. |
📸 Preview service has generated an image. |
📸 Preview service has generated an image. |
📸 Preview service has generated an image. |
This blocks signing up with a non-work email, as an experiment to see how it impacts our numbers. @cdriesler I gave blocking it when using single sign-on a shot, but not sure if this is correct. Please roast me if needed :D
I will leave this as a draft for now. Dont merge yet.