Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

JWT Token using Firebase

I was wondering if it would be possible to grab JWT Tokens from Firebase using Dart in Flutter, it seems that I can grab the UserID but can't seem to find a way to get JWT Tokens.

Thanks

like image 645
user15536005 Avatar asked Oct 27 '25 12:10

user15536005


1 Answers

You can get the JWT for the current user by calling getIdToken() on the user object.

like image 179
Frank van Puffelen Avatar answered Oct 29 '25 02:10

Frank van Puffelen



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!