Check any session
I want to have a check for when someone logs in my app, whatever the way it did the login, eg check that if I created a session, I check if the user belongs to an organization that was deactivated, and if this is the case, I refuse the session. Is that possible?