[SOLVED] Not found being presented for working route
I am following the Authenticated Routes docs. I've set up a redirect to occur when the user is not logged in. I apply a
But I am experiencing weird behavior where I can reach a protected route through normal navigation. But refreshing the page (triggering auth again) sends me to the not found component.
I don't perform any other redirect other than what the docs have provided. Why would this happen and how can I fix it?
The protected route:
The login route redirecting back to the page when auth is found.
redirect search param just like the docs do.But I am experiencing weird behavior where I can reach a protected route through normal navigation. But refreshing the page (triggering auth again) sends me to the not found component.
I don't perform any other redirect other than what the docs have provided. Why would this happen and how can I fix it?
The protected route:
The login route redirecting back to the page when auth is found.