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

Redirect unauthorized reqests within PrivateRoute. Closes #12 #14

Merged

Conversation

josephdburdick
Copy link
Contributor

@josephdburdick josephdburdick commented Jan 12, 2024

Motivation and context

This fixes the issue described in issue #12.

Description

With this change the server redirects unauthenticated users on private routes.

Steps to reproduce the behavior

Before:
Navigate to a private route without being authenticated and you will view a blank page.

After:
Navigate to a private route without being authenticated and the server redirects to login.

@Jaaneek Jaaneek merged commit 18d6b0a into Jaaneek:main Jan 22, 2024
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants