Redirection loop on failure of rules

When a new user signs up and is not from valid domain or if the has not verified the email when signing in then it goes in a callback loop.
I have handled it by checking query parameters but the code doesn’t go into execution and is again redirected to https://dev-onsurity.auth0.com/authorize

Hi @kunal_onsurity,

Welcome to the Community!

Can you give us some more context here? Is the callback loop happening in a redirect rule? Where are you checking for the query params? Is this in your app?

Thanks,
Dan