I have a firebase client(browser). I also have a backend server that I identify the user is signed in using the firebase token.
With following Firebase's docs Verify ID tokens using the Firebase Admin SDK, I am successfully using admin.auth().verifyIdToken(idToken) to verify the token on my node server.
However, one thing concerns me. I know that firebase uses a cert to verify the tokens. Does this mean that everytime I invoke admin.auth().verifyIdToken(idToken) a outgoing network request/network transaction is made from my node server? I am concerned because I would consider this expensive if so.
I tried to use tcpdump but traffic is to much and to cryptic to tell.