uwasystemhealth / IndEAAv2

A web application that streamlines course review by industry advisory panels. A complete rewrite of https://github.com/uwasystemhealth/IndEAA
4 stars 1 forks source link

[FEATURE] Unauthorised Redirect #82

Open frinzekt opened 2 years ago

frinzekt commented 2 years ago

Is your feature request related to a problem? Please describe

As a user, when I go to a page that needs authentication. I am redirected to login.

Describe the solution you'd like

Redirect to login

Additional context

Currently, when you go to an authenticated page. The frontend will refuse to fetch data from the API. This is configured from the useSWRAuth simply because the frontend knows that the request will fail, so it doesnt attempt it