Open Lyokone opened 10 months ago
I'm also experiencing this issue. I was using flutterfire_desktop before and it was properly returning claims. However, flutterfire_desktop is not maintained and the latest versions of flutter require the later versions of the firebase flutter packages, which are no longer compatible with flutterfire_desktop packages.
Feature proposal
On other platforms, we have a way of accessing the claims associated with a token. For instance on Android: https://firebase.google.com/docs/reference/android/com/google/firebase/auth/GetTokenResult
On Desktop C++ the
GetToken
only returns a string: https://firebase.google.com/docs/reference/cpp/class/firebase/auth/user#gettokenWe should support claims.
Requested on FlutterFire repo: https://github.com/firebase/flutterfire/issues/11949