You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Improve error messages when failing to get access token (#263)
* Improve error messages when failing to get refresh token
* Add warning when debug logging is enabled
* Redact refresh token
* Expose end of redacted tokens, not beginning
.toraise_error("#{ErrorMessage::SERVICE_CREDENTIALS_ERROR}: \"invalid_service_path\". For more information, try again with firebase_app_distribution's \"debug\" parameter set to \"true\".")
106
+
end
107
+
108
+
it'crashes if the service credentials are invalid in debug mode'do
.toraise_error("#{ErrorMessage::REFRESH_TOKEN_ERROR} For more information, try again with firebase_app_distribution's \"debug\" parameter set to \"true\".")
120
+
end
121
+
122
+
it'prints redacted token and error if given an invalid token in debug mode'do
0 commit comments