How can I run custom auth logic, like beforeLogin

Let me check the knowledge base for you. One moment! :books: