Firebase IdToken not getting validated with Admin SDK #9735
Unanswered
deepakThedeveloper
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I need to do google sign in in flutter app using firebase. I need to generate idToken at client(flutter), and send it to backend Admin SDK for verification of idToken.
Issue: I am getting below error when calling method of Firebase Admin SDK. FirebaseAuth.getInstance(firebaseApp).verifyIdToken(clientIdToken);
error:
Client code: pubsec.yml
controllerLogin.dart
Backend code
I have tried verifying the idToken on jwt.io. There I am able to decode the jwt token although it shows invalid signature but the token is getting decoded on jwt.io Please help.
Beta Was this translation helpful? Give feedback.
All reactions