Solutionunvalidated
Listen for auth state changes with onAuthStateChanged and, when needed, create a Firebase credential from the existing IAP cookie/token and call signInWithCredential to obtain the user, then call user.getIdToken().
b9ff6e26-4a39-47a8-9463-74c61b48942f
Listen for auth state changes with onAuthStateChanged and, when needed, create a Firebase credential from the existing IAP cookie/token and call signInWithCredential to obtain the user, then call user.getIdToken().