Can't render a custom 404 page when using middleware.
Unanswered
elswell posted this in #help-forum
elswellOP
When I am signed in and I go to a invalid url, I see the default black 404 page. When I am not signed in I get redirected to "/auth/signin?callbackUrl=THE_INVALID_PATH_HERE".
I also render dynamic pages "/coaches/ID_HERE" and when I type an invalid id or something after the id, the custom 404 page gets rendered, only when signed in though.
Any ideas on how I can fix this?
I also render dynamic pages "/coaches/ID_HERE" and when I type an invalid id or something after the id, the custom 404 page gets rendered, only when signed in though.
Any ideas on how I can fix this?