Skip to content

Fix Firebase Auth Persistence on Production Domains#888

Merged
DHCross merged 1 commit into
mainfrom
jules-3218337396522034151-9881c50a
Jun 29, 2026
Merged

Fix Firebase Auth Persistence on Production Domains#888
DHCross merged 1 commit into
mainfrom
jules-3218337396522034151-9881c50a

Conversation

@google-labs-jules

Copy link
Copy Markdown
Contributor

The app was aggressively falling back to browserSessionPersistence for all iOS and Safari users as a workaround for Safari's ITP (Intelligent Tracking Prevention) issues with IndexedDB auth persistence. However, Next.js proxying of /__/auth/ traffic to Firebase makes auth traffic first-party in production, so ITP restrictions do not apply. This change ensures that we use browserLocalPersistence on our primary production domains, preventing unexpected logouts for these users.


PR created automatically by Jules for task 3218337396522034151 started by @DHCross

Bypasses Safari ITP fallback on primary domains where Next.js proxies
Firebase auth traffic, preventing users from being logged out on reload.
@google-labs-jules

Copy link
Copy Markdown
Contributor Author

👋 Jules, reporting for duty! I'm here to lend a hand with this pull request.

When you start a review, I'll add a 👀 emoji to each comment to let you know I've read it. I'll focus on feedback directed at me and will do my best to stay out of conversations between you and other bots or reviewers to keep the noise down.

I'll push a commit with your requested changes shortly after. Please note there might be a delay between these steps, but rest assured I'm on the job!

For more direct control, you can switch me to Reactive Mode. When this mode is on, I will only act on comments where you specifically mention me with @jules. You can find this option in the Pull Request section of your global Jules UI settings. You can always switch back!

New to Jules? Learn more at jules.google/docs.


For security, I will only act on instructions from the user who triggered this task.

@vercel

vercel Bot commented Jun 29, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
shipyard Ready Ready Preview, Comment Jun 29, 2026 3:19am

@DHCross DHCross merged commit 5eef0a0 into main Jun 29, 2026
9 of 10 checks passed
@DHCross DHCross deleted the jules-3218337396522034151-9881c50a branch June 29, 2026 06:11
@sonarqubecloud

Copy link
Copy Markdown

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.

1 participant