-
Notifications
You must be signed in to change notification settings - Fork 3.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We鈥檒l occasionally send you account related emails.
Already on GitHub? Sign in to your account
馃悰 [firebae_auth] custom claims is null on windows desktop #11949
Comments
Some more information |
@floyd-lewis Thanks for the report. |
const email = 'xxxx@gmail.com';
}); |
For retreival i modifies the code as below for it to work in flutter, Earlier I was using getIdTokenResult, which was returning a nulllfor claims. Please note that it only does not work for windows desktop String? tokenStr =
|
Old code which did not work on windows desktop
|
Thanks for the update. Upon verifying on windows machine, getting the same result as reported. /cc @Lyokone |
Opened an issue on the C++ repository for support: firebase/firebase-cpp-sdk#1494 |
Will close this in favor of #11768. |
Bug report
Describe the bug
A clear and concise description of what the bug is.
Custom claims was set for a user with a role using admin sdk in javascript.
When logging into the app On Web and Android, when the user logs in the app gets the custom claim. On windows the claims is null.
pubspec.yaml
firebase_core: ^2.23.0
cloud_firestore: ^4.13.2
firebase_auth: ^4.14.1
cloud_functions: ^4.5.5
firebase_storage: ^11.3.1
Using google_sign_in_dartio for windows
The text was updated successfully, but these errors were encountered: