I have an SSO login/registration and I need to have a blacklist for a certain domain @test.com, but, if needed, some users with same domain can enter for one day or two following clients requests.
Is there a clean way to do this thing with code or plugin? I've searched a lot of plugins but they only work with registration process and mainly work with IP. Website is closed to not-logged in users. With SSO I can't control Registration and most important thing many users land to website already registered. So I can only take fields that SSo system give to me (name - email)
At the moment I manually hide all content once user is logged in, but it's a manual method seraching in db all @test.com users. I need to automate this process.
Thanks for all suggestions.