Duck-Tech-Dev / app-winnerduck

GNU General Public License v3.0
1 stars 0 forks source link

LogIn/SignUp Page #2

Closed erthium closed 6 months ago

erthium commented 6 months ago

We need to create an authentication page for users to access the control panel. Current structure is using http-only cookies so we do not need to do much than get the data and send it to the API.

Whenever a secured/private route is tried to be reached and API returned and unauthorised exception, we need to redirect the user to the authentication page.