fix(setup): fix Plex login not proceeding after authentication#2290
Merged
gauthier-th merged 1 commit intodevelopfrom Jan 11, 2026
Merged
fix(setup): fix Plex login not proceeding after authentication#2290gauthier-th merged 1 commit intodevelopfrom
gauthier-th merged 1 commit intodevelopfrom
Conversation
Contributor
There was a problem hiding this comment.
Pull request overview
This pull request fixes a bug in the Plex authentication flow during the setup process. After a recent change that disabled SWR revalidation on auth pages, calling revalidate() without arguments no longer fetched user data. The fix directly fetches user data via the /api/v1/auth/me endpoint and populates the SWR cache by passing it to revalidate().
Changes:
- Modified the Plex login handler to fetch user data explicitly after authentication
- Updated
revalidate()call to pass the fetched user data and disable automatic revalidation
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
0xSysR3ll
pushed a commit
to 0xSysR3ll/jellyseerr
that referenced
this pull request
Jan 20, 2026
…-team#2290) Directly fetch and populate SWR cache with user data instead of relying on revalidate() which is disabled on auth pages since seerr-team#2213 fix seerr-team#2288
2 tasks
7 tasks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Directly fetch and populate SWR cache with user data instead of relying on revalidate() which is disabled on auth pages since #2213
fix #2288
Description
Fixed an issue in the setup flow where completing Plex authentication in the popup wouldn't automatically proceed to the next step. This was caused by a recent change (#2213) that disabled SWR revalidation on auth pages, which meant the
revalidate()call after login wasn't actually fetching user data. The fix directly fetches the user data and populates the SWR cache.How Has This Been Tested?
Screenshots / Logs (if applicable)
Checklist:
pnpm buildpnpm i18n:extract