# Hi, Anyone knows how to do it? I try to use a middleware and register it in AuthMiddleware but i got too many redirect error.
# To help others find answers, you can mark your question as solved via Right click solution message -> Apps -> ✅ Mark Solution