fix(auth): resolve 403 errors with browser User-Agent and session cookie sync - #54
Open
TN-1 wants to merge 2 commits into
Open
fix(auth): resolve 403 errors with browser User-Agent and session cookie sync#54TN-1 wants to merge 2 commits into
TN-1 wants to merge 2 commits into
Conversation
…ails.sid session cookie sync - Replace non-browser User-Agents with browser-compatible strings across Android, iOS, and floatcli to prevent Cloudflare WAF 403 bot challenges - Implement automagic sails.sid session cookie extraction from web authentication sessions (CookieManager on Android, HTTPCookieStorage on iOS) - Ensure Cookie: sails.sid=<value> is attached to all authenticated API calls alongside OAuth DPoP/Bearer tokens - Fix slash escaping (\/ -> /) in DPoP JWT claim proofs in DPoPManager - Handle DPoP-Nonce response headers and WWW-Authenticate retry loops - Clear invalid auth states on unresolvable 401/403 responses so the UI routes cleanly to login - Add session cookie login buttons and fallback dialogs to LoginScreen, TvLoginScreen, and SettingsScreen - Update floatcli with `auth set-cookie` command and browser User-Agent support
Author
|
@coulterpeterson I believe this latest commit will fix the QR code login but it requires changes to be pushed to your prod server. |
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.
auth set-cookiecommand and browser User-Agent supportFixes #52