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

Only redirect after refresh failure in middleware auth mode #155

Open
wants to merge 5 commits into
base: main
Choose a base branch
from

Conversation

PaulAsjes
Copy link
Collaborator

Changes our previous behaviour slightly where we would redirect if a refresh failed. Unless we're in middleware auth mode, the page itself should decide on whether a redirect is needed as it could contain content that's meant to be viewable when a user isn't logged in.

@PaulAsjes PaulAsjes mentioned this pull request Dec 27, 2024
@PaulAsjes PaulAsjes requested a review from cmatheson January 2, 2025 12:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants