When user declines organization acess request loginWithRedirect is getting executed and redirected to the landing page

Ready to post? :mag: First, try searching for your answer.
I have made the user type as business user with credential prompt when the user accepts or declines it is redirected to the landing page I have given the saple flow of my implementation

export default function Login() {
const { loginWithRedirect } = useAuth0();

const handleLogin = async () => {
loginWithRedirect({
redirectUri: window.location.origin + ‘/dashboard’,
audience:“https://sample-app.com/api/v2/”,
});
};

return (

<ArrowForwardIosSharpIcon
style={{width: 190, height: 75 }}
onClick={handleLogin}
/>

);
}