fix: auth post - #627
Merged
Merged
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
Contributor
PR Reviewer Guide 🔍Here are some key observations to aid the review process:
|
This was referenced Sep 10, 2025
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.
User description
refs #626 now definitely non-flickering
PR Type
Bug fix, Enhancement
Description
Fix authentication token handling in API requests
Add token availability check mechanism
Improve handling of loading state
Prevent race conditions in auth configuration
Changes walkthrough 📝
AuthProvider.tsx
Improve auth token state handlingwww/app/lib/AuthProvider.tsx
mutations
(token), loading (undefined), and unauthenticated (null)
apiClient.tsx
Enhance API auth configuration mechanismwww/app/lib/apiClient.tsx
unconfigured state