Skip to content

Fix NSNumber to NSString casting crash in token refresh#269

Closed
kieranjlynch wants to merge 1 commit into
google:masterfrom
kieranjlynch:fix-nsnumber-casting-crash-issue-253
Closed

Fix NSNumber to NSString casting crash in token refresh#269
kieranjlynch wants to merge 1 commit into
google:masterfrom
kieranjlynch:fix-nsnumber-casting-crash-issue-253

Conversation

@kieranjlynch

Copy link
Copy Markdown
  • Add sanitizeRefreshParameters helper method to safely convert dictionary values
  • Handle NSNumber, NSString, Bool, and other types gracefully
  • Prevents runtime crash when OAuth providers return numeric values

- Add sanitizeRefreshParameters helper method to safely convert dictionary values
- Handle NSNumber, NSString, Bool, and other types gracefully
- Prevents runtime crash when OAuth providers return numeric values
@google-cla

google-cla Bot commented Aug 14, 2025

Copy link
Copy Markdown

Thanks for your pull request! It looks like this may be your first contribution to a Google open source project. Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA).

View this failed invocation of the CLA check for more information.

For the most up to date status, view the checks section at the bottom of the pull request.

@kieranjlynch

Copy link
Copy Markdown
Author

I have signed the Contributor License Agreement

@ywsang ywsang reopened this Sep 25, 2025
@ywsang ywsang closed this Sep 26, 2025
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.

2 participants