I am reading some Json files from my firebase database and I am trying to obtain an ID token for the current user to be used in the header as follows:
var respo
U can also retrieve the id token from the window object like so:
const idToken = window.gapi.auth2.getAuthInstance().currentUser.get().getAuthResponse().id_token