-
Notifications
You must be signed in to change notification settings - Fork 1.6k
[Functions] Pass placeholder app check tokens on error #14467
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Conversation
Generated by 🚫 Danger |
Could this be a breaking change for apps depending on the |
I don't think so. Here is my thinking: currently, returning cc: @weixifan |
That's my understanding as well. Based on these docs https://firebase.google.com/docs/app-check/monitor-functions-metrics I think devs will start seeing |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks, Nick! This LGTM from a Swift perspective. I'll ping Victor on Chat just to double check if that there's no reason to hold off on merging.
Just as a future record of what we discussed: Nick's reasoning is correct; this is safe to merge. Thank you Nick for the fix! |
Currently, the Functions SDK does not pass the App Check placeholder token for cases where the App Check integration fails to fetch an App Check token.
Before:

After:
