8000
Skip to content

[Auth] Should not force App Check token refreshes#15716

Merged
paulb777 merged 2 commits intomainfrom
paulb777-patch-1
Jan 14, 2026
Merged

[Auth] Should not force App Check token refreshes#15716
paulb777 merged 2 commits intomainfrom
paulb777-patch-1

Conversation

@paulb777
Copy link
Copy Markdown
Member

Fix #15372

Fix bug introduced in Swift transition
@gemini-code-assist
Copy link
Copy Markdown
Contributor
Using Gemini Code Assist

The full guide for Gemini Code Assist can be found on our documentation page, here are some quick tips.

Invoking Gemini

You can request assistance from Gemini at any point by creating a comment using either /gemini <command> or @gemini-code-assist <command>. Below is a summary of the supported commands on the current page.

Feature Command Description

Customization

To customize Gemini Code Assist for GitHub experience, repository maintainers can create a configuration file and/or provide a custom code review style guide (such as PEP-8 for Python) by creating and adding files to a .gemini/ folder in the base of the repository. Detailed instructions can be found here.

Limitations & Feedback

Gemini Code Assist may make mistakes. Please leave feedback on any instances where its feedback is incorrect or counter productive. You can react with 👍 and 👎 on @gemini-code-assist comments. If you're interested in giving your feedback about your experience with Gemini Code Assist for Github and other Google products, sign up here.

@paulb777
Copy link
Copy Markdown
Member Author

/gemini review

Copy link
Copy Markdown
Contributor
@gemini-code-assist gemini-code-assist bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code Review

This pull request correctly addresses an inefficiency in how App Check tokens are handled. By changing forcingRefresh from true to false when calling getToken, the App Check SDK's caching mechanism will be utilized. This will prevent unnecessary token refreshes on every authentication request, leading to improved performance and reduced network overhead. The change is well-targeted and correct.

@paulb777 paulb777 merged commit 0af47d7 into main Jan 14, 2026
85 of 87 checks passed
@paulb777 paulb777 deleted the paulb777-patch-1 branch January 14, 2026 16:56
JesusRojass pushed a commit to JesusRojass/firebase-ios-sdk that referenced this pull request Jan 22, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

App Check Error: Code 17999

3 participants

0