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
I think I've found the root cause, and it's an incomplete implementation of GoogleCloudIdentitytoolkitV1UserInfo.toJson. I have filed an issue in the library.
Turns out that this is by design. The workaround would be for firebase_admin to replace the .toJson() call with: jsonDecode(jsonEncode(u))
This is of course less efficient, but at least it will be "correct".
Running under Windows.
The class definition for
GoogleCloudIdentitytoolkitV1ProviderUserInfo
cannot be found in firebase_admin. Instead it can be found in a dependency: https://github.com/invertase/dart_firebase_apis/blob/541a555ac378f7fadfdd404f5de04e6898da9523/generated/firebaseapis/lib/identitytoolkit/v1.dart#L3996Seems like firebase_admin is unexpectedly getting this class rather than raw json data for deserialization.
The text was updated successfully, but these errors were encountered: