Closed olivernjeru closed 2 months ago
I have achieved this, not to the extent I wanted to, but I have achieved this. I am redirect unauthenticated users to the login page but it keeps doing that even while a user is authenticated... I will looks into making it better in the future.
Progress Update: Regarding the previous comment, I am now able to refresh and still manage to stay on the same page after getting authenticated. I am also able to navigate to a protected route after getting authenticated. I am also able to not navigate to a protected route after signing out! This is all thanks to this commit, finally created PrivateRoutes. Issue CLOSED!!
I am stil working on this, well, another feature came up that i am working on but once I am done, this will be worked on!