Comments (3)
@jeremyf thanks for this issue! I'm just wanting to clarify one small thing:
Note: There is an edge case around whether or not they've stated "Only allow emails from this domain." If that is set, the OAuth2 authentication and email checks will also honor that.
This means that "only allow" overrides "never allow" if both fields contain the same domains?
from admin-docs.
I mis-explained.
There is the logic of is it an acceptable domain:
That logic is used for both OAuth email checks and enabled email checks. And if the domain is blocked, that takes precedence.
The edge case is when we have both Email Enabled registration and OAuth enabled registration, and someone fills in a blocked domain of "gmail.com" and an allowed domain of "yahoo.com". From that point forward the logic will block anyone with "gmail.com" and then only allow someone from "yahoo.com". The end result being only emails, via email registration or OAuth, that are "yahoo.com" will be allowed.
I think it's a super edge case but one that might help in trouble shooting. (And if we need to, it's a quick change to rework that logic for the two different registration vectors)
from admin-docs.
Documentation has been updated here: https://admin.forem.com/docs/advanced-customization/config/authentication#block-email-domains
from admin-docs.
Related Issues (19)
- Explain new simpler process for submitting sitemap to Google Search Console
- Expand auto-vomit functionality HOT 1
- Add "featured" option for podcasts.
- Unpublish all posts
- Clarify connect chat feature is deprecated HOT 2
- Update Documentation Around Admin Onboarding Flow HOT 7
- Update Liquid Tag/Markdown Documentation
- Update "Forem Setup Checklist" Documentation HOT 6
- Contact email address HOT 2
- Update Documentation Related to the Admin Member Detail View HOT 4
- Update Authentication page with Google SSO instructions
- Update `/advanced-customization/listings` HOT 1
- Admin Member Detailed View HOT 1
- Make it clearer in "Editing a Tag" how to create and edit a template HOT 1
- Document Profile Field customization
- Update Forem developers API docs guide HOT 1
- Add API doc generation to Forem Developers guide
- [bug] overflow in x direction
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from admin-docs.