I am using firebase auth in a flutter app I am developing.
I am using the firebase_auth
dart library.
Once the user is logged in, every request to my custom server backend contains the idToken, which I obtain by calling FirebaseUser.getIdToken(). What I recently just noticed is that the idToken is 900 characters long!! That seems excessively long. By just sending the firebase idToken
on every request, I have increased my network data usage by 25x.
Is this normal? I have never used JWT before, so I don't know what to expect.