How to use Firebase auth to generate id token?

I am currently trying to use Firebase Auth to generate id token on Retool but cannot figure out a way to do it.

On my local javascript environment, I would use firebase.auth().currentUser.getIdToken() to generate the token. The Google firebase doc is User | JavaScript SDK  |  Firebase JavaScript API reference

I found the blog Authenticate with Firebase Auth - #3 to be relevant but I am not sure what parameters to fill in for the Authentication section. Can anyone provide some insight here? Thanks in advance!

1 Like