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

Require users to login before interacting with routes requiring authorization #26

Open
3 tasks
yttrian opened this issue Aug 29, 2021 · 0 comments
Open
3 tasks
Assignees
Labels
enhancement New feature or request frontend Work to be done on the frontend

Comments

@yttrian
Copy link
Collaborator

yttrian commented Aug 29, 2021

As a game server manager, I want it to be made clear that I need to login, so that I can use routes that require authorization.

Currently users can visit pages like "New Server" without being logged in. This is confusing because when they try to use the form they will get the following error:

Unexpected token u in JSON at position 4

These routes should be hidden from navigation if not logged in, and the user should be sent to the login page if trying to visit these routes.

Requirements

  • Hide routes requiring authorization from nav
  • Redirect users trying to visit authorized routes when not logged to login
  • Either show useful errors if auth expired after reaching a route or redirect
@yttrian yttrian added enhancement New feature or request frontend Work to be done on the frontend labels Aug 29, 2021
@yttrian yttrian self-assigned this Aug 29, 2021
@yttrian yttrian added this to the First Alpha Release milestone Aug 29, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request frontend Work to be done on the frontend
Projects
None yet
Development

No branches or pull requests

1 participant