Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[FEATURE] Unauthorised Redirect #82

Open
frinzekt opened this issue Aug 30, 2022 · 0 comments
Open

[FEATURE] Unauthorised Redirect #82

frinzekt opened this issue Aug 30, 2022 · 0 comments
Labels
frontend Frontend-specific Issues good first issue Good for newcomers minor Minor Impact Issues. Usually a nice to have, but not essential

Comments

@frinzekt
Copy link
Member

frinzekt commented Aug 30, 2022

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

@frinzekt frinzekt added good first issue Good for newcomers minor Minor Impact Issues. Usually a nice to have, but not essential frontend Frontend-specific Issues labels Aug 30, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
frontend Frontend-specific Issues good first issue Good for newcomers minor Minor Impact Issues. Usually a nice to have, but not essential
Projects
None yet
Development

No branches or pull requests

1 participant