withAuthenticationRequired redirect to other page rather then the login one

Is it possible, using withAuthenticationRequired, to redirect the user to some other page rather than the login one if he is not authenticated and tries to access a private route?

Hi, I’m wondering the same? @eaugusto did you manage to solve this?
Any help from the Auth0 team?

@serenam No help from them. Still haven’t figure this one out