DEV Community

Discussion on: Securing your express/Node.js API with Firebase auth

Collapse
iampaoloxd profile image
Paolo

hi i am having trouble with the token because it only live for 1hour. My question is if i call 'getIdToken' on every request, can this cause a performance issue or will it billed me much on firebase ? Thanks

Thread Thread
emeka profile image
Nwakwoke Patrick Nnaemeka Author

You definitely won't be billed more and I haven't had any issues with performance because the request is really fast.