We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I get "Null check operator used on a null value" when trying to verify the idtoken issued from a web firebase sdk (official).
#0 new DecodedIdToken.fromMap (package:dart_firebase_admin/src/auth/token_verifier.dart:318:48) #1 FirebaseTokenVerifier.verifyJWT (package:dart_firebase_admin/src/auth/token_verifier.dart:82:43) #2 _BaseAuth.verifyIdToken (package:dart_firebase_admin/src/auth/base_auth.dart:360:28) #3 FirebaseRepository.verifyIdToken (package:insightsentry_core/src/google/firebase.dart:56:22) #4 main (file:///Users/rezmeplx/Projects/insight_sentry/core/test/idtoken.dart:6:18) idtoken.dart:6
The text was updated successfully, but these errors were encountered:
Here's the example json data passed to DecodedIdToken class:
{iss: https://securetoken.google.com/myproject, aud: myprojectId, auth_time: 1732417815, user_id: Ek89AbErVLTkIFfqBXV5FkKunmi1, sub: Ek89AbErVLTkIFfqBXV5FkKunmi1, iat: 1732417815, exp: 1732421415, email: [email protected], email_verified: true, firebase: {identities: {email: [[email protected]]}, sign_in_provider: password}}
Sorry, something went wrong.
rrousselGit
No branches or pull requests
I get "Null check operator used on a null value" when trying to verify the idtoken issued from a web firebase sdk (official).
StackTrace
#0 new DecodedIdToken.fromMap (package:dart_firebase_admin/src/auth/token_verifier.dart:318:48)
#1 FirebaseTokenVerifier.verifyJWT (package:dart_firebase_admin/src/auth/token_verifier.dart:82:43)
#2 _BaseAuth.verifyIdToken (package:dart_firebase_admin/src/auth/base_auth.dart:360:28)
#3 FirebaseRepository.verifyIdToken (package:insightsentry_core/src/google/firebase.dart:56:22)
#4 main (file:///Users/rezmeplx/Projects/insight_sentry/core/test/idtoken.dart:6:18)
idtoken.dart:6
The text was updated successfully, but these errors were encountered: