[FEATURE] Unauthorised Redirect #82
Labels
frontend
Frontend-specific Issues
good first issue
Good for newcomers
minor
Minor Impact Issues. Usually a nice to have, but not essential
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 itThe text was updated successfully, but these errors were encountered: