I have two applications on Auth0.
Both applications are Next.js(App Router) applications.
When I go to the login page of B after logging into A, it redirects me to the authentication page instead of redirecting to the successful login page of B.
Below is a code sample from my application. Could you please help me identify what is wrong?
login: (req: NextRequest, ctx: AppRouteHandlerFnContext) => {
return handleLogin(req, ctx, {
authorizationParams: {
connection: "email",
},
});
},
Tenant settings are shown in the image below: